diff options
-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 |