summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-12 00:54:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-12 00:54:36 +0000
commit4c870759025b88be35f38ce1075d26aa0865186a (patch)
tree9a44bc480a351df07df736333c1e1172ddfd6fa8
parent604de1523befaac7e9081170707d90ec9da85e42 (diff)
downloadruby-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
-rw-r--r--ChangeLog4
-rw-r--r--version.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3374c1183..6cd5f99fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu May 12 09:53:57 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * version.c (ruby_show_version): flush for non-tty stdout.
+
Thu May 12 01:23:55 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (unknown_node): ignore broken NODE to get rid of accessing
diff --git a/version.c b/version.c
index 0f0bfd361..acf34ce5f 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