diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-12 00:54:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-12 00:54:36 +0000 |
commit | 4c870759025b88be35f38ce1075d26aa0865186a (patch) | |
tree | 9a44bc480a351df07df736333c1e1172ddfd6fa8 /version.c | |
parent | 604de1523befaac7e9081170707d90ec9da85e42 (diff) | |
download | ruby-4c870759025b88be35f38ce1075d26aa0865186a.tar.gz ruby-4c870759025b88be35f38ce1075d26aa0865186a.tar.xz ruby-4c870759025b88be35f38ce1075d26aa0865186a.zip |
* version.c (ruby_show_version): flush for non-tty stdout.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ void ruby_show_version() { printf("ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); + fflush(stdout); } void |