aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael I. Bushnell1993-01-08 20:26:54 +0000
committerMichael I. Bushnell1993-01-08 20:26:54 +0000
commit507876f3c776a033119030e817dcf1a423ea5f2f (patch)
treec78e1f4558b4fbdc9ad3dab98ad54cecac097922
parentac96728ddaeb952da40ebda93e7b82b5953601a5 (diff)
downloademacs-507876f3c776a033119030e817dcf1a423ea5f2f.tar.gz
emacs-507876f3c776a033119030e817dcf1a423ea5f2f.zip
timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
-rw-r--r--lib-src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index a12295db014..6563965d8e2 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -131,6 +131,7 @@ notify ()
131 if (ep->reply_at <= now) 131 if (ep->reply_at <= now)
132 { 132 {
133 fputs (ep->token, stdout); 133 fputs (ep->token, stdout);
134 fflush (stdout);
134 free (ep->token); 135 free (ep->token);
135 136
136 /* We now have a hole in the event array; fill it with the last 137 /* We now have a hole in the event array; fill it with the last