aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 9970383748..ca37d87291 100644
--- a/process.c
+++ b/process.c
@@ -1349,8 +1349,8 @@ rb_fork(status, chfunc, charg)
#endif
#ifndef __VMS
- fflush(stdout);
- fflush(stderr);
+ rb_io_flush(rb_stdout);
+ rb_io_flush(rb_stderr);
#endif
#ifdef FD_CLOEXEC