summaryrefslogtreecommitdiff
path: root/net/rwhois/files/patch-ag
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-11-28 15:31:16 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-11-28 15:31:16 +0000
commitbcc42b0565a50b281c632e3733563c93a20f9c99 (patch)
tree8074a5f1109de94ae3096e6291f9d3c9bb94e708 /net/rwhois/files/patch-ag
parentUpdate to version 3.5.1 (diff)
Update to version 1.5.7
PR: 23136 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=35492
Diffstat (limited to 'net/rwhois/files/patch-ag')
-rw-r--r--net/rwhois/files/patch-ag20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/rwhois/files/patch-ag b/net/rwhois/files/patch-ag
new file mode 100644
index 000000000000..3c87514cd4e8
--- /dev/null
+++ b/net/rwhois/files/patch-ag
@@ -0,0 +1,20 @@
+--- tools/Xpgp/Xpgp.c.orig Fri Jan 30 09:25:58 1998
++++ tools/Xpgp/Xpgp.c Sat Nov 25 15:58:33 2000
+@@ -55,7 +55,7 @@
+
+ key = xcalloc(1, sizeof(char) * 1050);
+
+- gets(key);
++ fgets(key, sizeof(key), stdin);
+ fprintf(fp, "%s\n",key);
+
+ if (strstr(key, "END"))
+@@ -72,7 +72,7 @@
+ free(key);
+
+ newstr = xcalloc(1, sizeof(char)*100);
+- gets(newstr);
++ fgets(newstr, sizeof(newstr), stdin);
+
+ if (STRN_EQ(newstr, "-X-pgp off keyadd", 17))
+ {