summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 08:40:30 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-06 08:40:30 +0000
commiteca8a5a23a25bd5d13db45b643e146e82f9a9be9 (patch)
tree92055143e8d1ef22277637802fff499dd1e06d09 /process.c
parent7b1ef6a36b43e65ba7156198a8b1ab2cc3c6807e (diff)
downloadruby-eca8a5a23a25bd5d13db45b643e146e82f9a9be9.tar.gz
ruby-eca8a5a23a25bd5d13db45b643e146e82f9a9be9.tar.xz
ruby-eca8a5a23a25bd5d13db45b643e146e82f9a9be9.zip
* rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c,
ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio. * io.c, ext/stringio/stringio.c, test/ruby/ut_eof.rb: EOF flag removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 997038374..ca37d8729 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