aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/timer.c
diff options
context:
space:
mode:
authorMichael I. Bushnell1993-01-08 20:36:14 +0000
committerMichael I. Bushnell1993-01-08 20:36:14 +0000
commit5319c7c1b963ad204768fb6ca20442a38adf3593 (patch)
tree33bd7adee21d7e6e5e097056cfd99a84ff1ca51a /lib-src/timer.c
parentdbac6e3de7eef4ffd0d45f248b86f1da55b85ce2 (diff)
downloademacs-5319c7c1b963ad204768fb6ca20442a38adf3593.tar.gz
emacs-5319c7c1b963ad204768fb6ca20442a38adf3593.zip
timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
Diffstat (limited to 'lib-src/timer.c')
-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 6563965d8e2..fa603c73d52 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 putc ('\n', stdout);
134 fflush (stdout); 135 fflush (stdout);
135 free (ep->token); 136 free (ep->token);
136 137