1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net/gopher/files/patch-ac
Satoshi Asami 4f9ad341f6 gets() -> fgets(). Closes PR ports/2765.
Submitted by:	Marc Slemko <marcs@znep.com>
1997-03-02 13:34:28 +00:00

20 lines
490 B
Plaintext

*** 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;