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 | 594def33fc7ff20e4f1af650a4748adc666f17d1 (patch) | |
tree | 5b81c97b6e04272bdde445aaf82e4643b7f515a1 /version.c | |
parent | 6311ee1166ad3920042f9f3f2718ce60e18e825d (diff) | |
download | ruby-594def33fc7ff20e4f1af650a4748adc666f17d1.tar.gz |
* version.c (ruby_show_version): flush for non-tty stdout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r-- | version.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ void ruby_show_version() { printf("ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); + fflush(stdout); } void |