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

* 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
This commit is contained in:
usa 2007-05-15 06:01:33 +00:00
parent 46590a4132
commit 216dcd80ff
3 changed files with 9 additions and 3 deletions

View file

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

View file

@ -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[];

View file

@ -1754,6 +1754,7 @@ init_stdhandle(void)
stderr->_file = open_null(2);
}
if (nullfd >= 0 && !keep) close(nullfd);
setvbuf(stderr, NULL, _IONBF, 0);
}
#else