mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-24 07:41:54 -07:00
Must fflush stderr too--it's buffered on windows!
Copied from Perforce Change: 186517 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
14addd278e
commit
46d9f74cea
4 changed files with 4 additions and 0 deletions
|
|
@ -4401,6 +4401,7 @@ static int start(int argc, char *argv[])
|
|||
printf("%lu, %lu> ", (unsigned long)total,
|
||||
(unsigned long)mps_collections(arena));
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
obj = read(input);
|
||||
if(obj == obj_eof) break;
|
||||
obj = eval(env, op_env, obj);
|
||||
|
|
|
|||
|
|
@ -3621,6 +3621,7 @@ int main(int argc, char *argv[])
|
|||
fprintf(stderr, "%s\n", error_message);
|
||||
printf("%lu> ", (unsigned long)total);
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
obj = read(input);
|
||||
if(obj == obj_eof) break;
|
||||
obj = eval(env, op_env, obj);
|
||||
|
|
|
|||
|
|
@ -3618,6 +3618,7 @@ int main(int argc, char *argv[])
|
|||
fprintf(stderr, "%s\n", error_message);
|
||||
printf("%lu> ", (unsigned long)total);
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
obj = read(input);
|
||||
if(obj == obj_eof) break;
|
||||
obj = eval(env, op_env, obj);
|
||||
|
|
|
|||
|
|
@ -4331,6 +4331,7 @@ static int start(int argc, char *argv[])
|
|||
printf("%lu, %lu> ", (unsigned long)total,
|
||||
(unsigned long)mps_collections(arena));
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
obj = read(input);
|
||||
if(obj == obj_eof) break;
|
||||
obj = eval(env, op_env, obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue