summaryrefslogtreecommitdiffstats
path: root/comms/gnokii/files/patch-gnokii-gnokii-security.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gnokii/files/patch-gnokii-gnokii-security.c')
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii-security.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/comms/gnokii/files/patch-gnokii-gnokii-security.c b/comms/gnokii/files/patch-gnokii-gnokii-security.c
deleted file mode 100644
index ed4297602..000000000
--- a/comms/gnokii/files/patch-gnokii-gnokii-security.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- gnokii/gnokii-security.c.orig Thu May 10 20:50:16 2007
-+++ gnokii/gnokii-security.c Thu Jun 21 11:56:13 2007
-@@ -131,12 +131,14 @@
-
- if (isatty(fd)) {
- strncpy(pass, getpass(prompt), length - 1);
-+/* FreeBSD uses standard C library, no getline, sorry.
- } else {
- err = getline(&s, &s_len, stdin);
- if (err > 0 && s) {
- strncpy(pass, s, length - 1);
- free(s);
- }
-+*/
- }
- pass[length - 1] = 0;
- #endif