diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:56:02 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:56:02 +0000 |
commit | f443db268b07a0279d0fc7261fc622a475a55008 (patch) | |
tree | f25bc6959f8e8503bf6b6ce7e88130b850106c9c | |
parent | cd9df2b8966680bc37617cd310c6b71bd7ec6352 (diff) |
merge -r 12278:12280
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | version.h | 2 | ||||
-rw-r--r-- | win32/win32.c | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed May 23 05:55:04 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (init_stdhandle): stderr should be without buffering, + but mswin32 use buffering when stderr is not connected to tty. + Wed May 23 05:35:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * bignum.c (rb_big_pow): truncate all zero BDIGITs. [ruby-dev:30733] @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-05-23" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070523 -#define RUBY_PATCHLEVEL 22 +#define RUBY_PATCHLEVEL 23 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 diff --git a/win32/win32.c b/win32/win32.c index cd344eac94..ba0a26b602 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1778,6 +1778,7 @@ init_stdhandle(void) if (fileno(stderr) < 0) { stderr->_file = 2; } + setvbuf(stderr, NULL, _IONBF, 0); } #else |