1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/Mosaic/files/patch-ag

12 lines
415 B
Plaintext

--- ./src/gui.c.org Tue Apr 9 21:47:32 1996
+++ ./src/gui.c Tue Apr 9 22:01:26 1996
@@ -3623,7 +3623,7 @@
return 0;
else
{
-{char ans[10]; printf("Press RETURN\n"); gets(ans);}
+{char ans[10]; printf("Press RETURN\n"); fgets(ans, sizeof(ans), stdin);}
/* All other errors are 'fatal'. */
XGetErrorText (dsp, event->error_code, buf, 128);
fprintf (stderr, "X Error: %s\n", buf);