summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-02 13:34:28 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-02 13:34:28 +0000
commit4f9ad341f67f30511db93817864c3df9b0d0d8bb (patch)
tree428a717810a9d82e6af3071715a3418ee43cc350 /net
parentAdd tcl76 and tk42. (diff)
gets() -> fgets(). Closes PR ports/2765.
Submitted by: Marc Slemko <marcs@znep.com>
Notes
Notes: svn path=/head/; revision=5791
Diffstat (limited to 'net')
-rw-r--r--net/gopher/files/patch-ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/gopher/files/patch-ac b/net/gopher/files/patch-ac
new file mode 100644
index 000000000000..62d0571d7e2b
--- /dev/null
+++ b/net/gopher/files/patch-ac
@@ -0,0 +1,19 @@
+*** gopher/upload.c.dist Tue Feb 18 17:31:30 1997
+--- gopher/upload.c Tue Feb 18 17:40:22 1997
+***************
+*** 123,129 ****
+ CURenter();
+ return;
+ }
+! while(gets(inputline)) {
+ ZapCRLF(inputline);
+ if (strcmp(inputline, ".") == 0)
+ break;
+--- 123,129 ----
+ CURenter();
+ return;
+ }
+! while(fgets(inputline, 256, stdin)) {
+ ZapCRLF(inputline);
+ if (strcmp(inputline, ".") == 0)
+ break;