summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1993-01-08 20:26:54 +0000
committerMichael I. Bushnell <mib@gnu.org>1993-01-08 20:26:54 +0000
commitd3a74882aeeb7a0f1c1cce813ab7b8984b543281 (patch)
treed239c0cb83344d28b3332e9f23933186ff64aca4 /lib-src
parent735c41584c9edc2c36de2605f269b0e93099a9fc (diff)
downloademacs-d3a74882aeeb7a0f1c1cce813ab7b8984b543281.tar.gz
timer.c (notify): Flush stdout after writing message to avoid lossage
on terminals.
Diffstat (limited to 'lib-src')
-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 ()
if (ep->reply_at <= now)
{
fputs (ep->token, stdout);
+ fflush (stdout);
free (ep->token);
/* We now have a hole in the event array; fill it with the last