summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-12 00:54:36 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-12 00:54:36 (GMT)
commit42de5af133bdbd0c466b902b86ffde45634b6c31 (patch)
tree9a44bc480a351df07df736333c1e1172ddfd6fa8 /version.c
parentdd9d1e580c29042f0f7dc30fd802796e7d2e80ce (diff)
* version.c (ruby_show_version): flush for non-tty stdout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/version.c b/version.c
index 0f0bfd3..acf34ce 100644
--- a/version.c
+++ b/version.c
@@ -34,6 +34,7 @@ void
ruby_show_version()
{
printf("ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM);
+ fflush(stdout);
}
void