Unbreak the tests.

linenoise doesn't eco its prompt to stdout, which messed them up.
This commit is contained in:
Eric S. Raymond 2017-06-10 05:35:35 -04:00 committed by NHOrus
parent 27fb272506
commit 45605685f3

2
misc.c
View file

@ -730,6 +730,8 @@ bool MAPLIN(FILE *fp)
* and is not changed thereafter unless the routines on this page choose
* to do so. */
if (!oldstyle && !isatty(1))
fputs("> ", stdout);
do {
if (oldstyle) {
IGNORE(fgets(rawbuf,sizeof(rawbuf)-1,fp));