summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-11-09 20:33:10 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-11-09 20:33:10 +0000
commit6fa1827953e91bab9d8c7d4bd01d97f6e80cb74c (patch)
tree48b88acc6651daa3fa30d99435967e6c41bc2024 /usr.bin
parent60ddec86b1c51bd19cc8ff36709039a79f6feef3 (diff)
Flush after 'n' operator.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/dc/bcode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c
index 72d6cc8efc5..73846edf291 100644
--- a/usr.bin/dc/bcode.c
+++ b/usr.bin/dc/bcode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcode.c,v 1.14 2003/11/06 19:48:13 otto Exp $ */
+/* $OpenBSD: bcode.c,v 1.15 2003/11/09 20:33:09 otto Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: bcode.c,v 1.14 2003/11/06 19:48:13 otto Exp $";
+static const char rcsid[] = "$OpenBSD: bcode.c,v 1.15 2003/11/09 20:33:09 otto Exp $";
#endif /* not lint */
#include <ssl/ssl.h>
@@ -489,6 +489,7 @@ pop_printn(void)
if (value != NULL) {
print_value(stdout, value, "", bmachine.obase);
+ fflush(stdout);
stack_free_value(value);
}
}