cdd1b7dcc9
applying the distribution internal patches not to confuse update-patches.
13 lines
428 B
Plaintext
13 lines
428 B
Plaintext
$OpenBSD: patch-src_lib_fte_inp_c,v 1.1 2001/08/02 23:54:56 pvalchev Exp $
|
|
--- src/lib/fte/inp.c.orig Thu Apr 29 17:06:28 1993
|
|
+++ src/lib/fte/inp.c Thu Aug 2 17:06:58 2001
|
|
@@ -666,7 +666,7 @@ com_edit(wl)
|
|
|
|
fprintf(cp_out, "run circuit? ");
|
|
fflush(cp_out);
|
|
- (void) gets(buf);
|
|
+ (void) fgets(buf, sizeof buf, stdin);
|
|
if (buf[0] != 'n') {
|
|
fprintf(cp_out, "running circuit\n");
|
|
com_run(NULL);
|