diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-15 06:01:33 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-15 06:01:33 +0000 |
commit | 216dcd80ffaa233be3f61d7e21eeeb13bad58795 (patch) | |
tree | f10d988df6e4cf4b9dd0c45a77a440aa34d7a15c | |
parent | 46590a41321abd10239f069907bed04221e5d870 (diff) | |
download | ruby-216dcd80ffaa233be3f61d7e21eeeb13bad58795.tar.gz |
* win32/win32.c (init_stdhandle): stderr should be without buffering,
but mswin32 use buffering when stderr is not connected to tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | version.h | 6 | ||||
-rw-r--r-- | win32/win32.c | 1 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Tue May 15 15:01:38 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. + Mon May 14 02:12:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * array.c (rb_ary_zip): a.zip(b,c) should return an array, not @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-05-14" +#define RUBY_RELEASE_DATE "2007-05-15" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070514 +#define RUBY_RELEASE_CODE 20070515 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 14 +#define RUBY_RELEASE_DAY 15 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; diff --git a/win32/win32.c b/win32/win32.c index 090cf20d0b..663136619f 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1754,6 +1754,7 @@ init_stdhandle(void) stderr->_file = open_null(2); } if (nullfd >= 0 && !keep) close(nullfd); + setvbuf(stderr, NULL, _IONBF, 0); } #else |