projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied patch #6428
[pspp-builds.git]
/
src
/
ui
/
terminal
/
read-line.c
diff --git
a/src/ui/terminal/read-line.c
b/src/ui/terminal/read-line.c
index 493a3d63cf5bd6399e7ea90de6081ae59d967e5c..1cd65c0ae73530f485fe1d3e6b835e28c6638d23 100644
(file)
--- a/
src/ui/terminal/read-line.c
+++ b/
src/ui/terminal/read-line.c
@@
-92,7
+92,7
@@
readln_uninitialize (void)
initialised = false;
#if HAVE_READLINE
initialised = false;
#if HAVE_READLINE
- if (history_file != NULL && false ==
get_testing_mode
() )
+ if (history_file != NULL && false ==
settings_get_testing_mode
() )
write_history (history_file);
clear_history ();
free (history_file);
write_history (history_file);
clear_history ();
free (history_file);
@@
-173,7
+173,7
@@
readln_read (struct string *line, enum prompt_style style)
#else
fputs (prompt, stdout);
fflush (stdout);
#else
fputs (prompt, stdout);
fflush (stdout);
- if (ds_read_line (line, stdin))
+ if (ds_read_line (line, stdin
, SIZE_MAX
))
{
ds_chomp (line, '\n');
eof = false;
{
ds_chomp (line, '\n');
eof = false;