1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2005-05-12 00:54:36 +00:00
parent dd9d1e580c
commit 42de5af133
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -34,6 +34,7 @@ void
ruby_show_version()
{
printf("ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM);
fflush(stdout);
}
void