diff options
author | Will Andrews <will@FreeBSD.org> | 2000-08-27 23:32:03 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-08-27 23:32:03 +0000 |
commit | 76a432dd93757fc8826bc04bf00ea7b0155a6779 (patch) | |
tree | 0f8c8f15cf26e4dee59bd62cec0cb688a5ba90d3 /math/physcalc/files/patch-ac | |
parent | a36c404a5914f1cb2671d87fc8d71c073607381f (diff) |
Notes
Diffstat (limited to 'math/physcalc/files/patch-ac')
-rw-r--r-- | math/physcalc/files/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/physcalc/files/patch-ac b/math/physcalc/files/patch-ac new file mode 100644 index 000000000000..46131c9eff22 --- /dev/null +++ b/math/physcalc/files/patch-ac @@ -0,0 +1,20 @@ +--- physmain.c Sun Aug 27 17:55:04 2000 ++++ physmain.c.new Sun Aug 27 17:55:53 2000 +@@ -227,7 +227,7 @@ + printf("Replace %s = ",v->name); + printexpr(v->value); + printf(" ?"); +- gets(answer); ++ fgets(answer, sizeof(answer), stdin); + printf("\n"); + } else + answer[0] = 'Y'; +@@ -711,7 +711,7 @@ + } else + while (TRUE) { + printf(">"); +- gets(buf); ++ fgets(buf, sizeof(buf), stdin); + do_cmd(buf); + } + } |