summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.c b/io.c
index bbbe04bec7..7c2a89c7be 100644
--- a/io.c
+++ b/io.c
@@ -2128,6 +2128,7 @@ rb_f_p(argc, argv)
for (i=0; i<argc; i++) {
rb_p(argv[i]);
}
+ fflush(stdout);
return Qnil;
}