mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
12 lines
415 B
Plaintext
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);
|