diff options
Diffstat (limited to 'gnu/lib/libreadline/history.c')
| -rw-r--r-- | gnu/lib/libreadline/history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libreadline/history.c b/gnu/lib/libreadline/history.c index a0a25603f419..7c23143a2073 100644 --- a/gnu/lib/libreadline/history.c +++ b/gnu/lib/libreadline/history.c @@ -2149,7 +2149,7 @@ main () while (!done) { fprintf (stdout, "history%% "); - t = gets (line); + t = fgets (line, 1024, stdin); if (!t) strcpy (line, "quit"); |
