[前][次][番号順一覧][スレッド一覧]

ruby-changes:18877

From: shyouhei <ko1@a...>
Date: Fri, 18 Feb 2011 19:52:42 +0900 (JST)
Subject: [ruby-changes:18877] Ruby:r30902 (ruby_1_8_7): merge revision(s) 30604:

shyouhei	2011-02-18 19:47:31 +0900 (Fri, 18 Feb 2011)

  New Revision: 30902

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30902

  Log:
    merge revision(s) 30604:
    * win32/win32.c (init_stdhandle): backport mistake of r29382.
      some code are needless in ruby 1.8.
      [ruby-core:34579]

  Modified files:
    branches/ruby_1_8_7/ChangeLog
    branches/ruby_1_8_7/version.h
    branches/ruby_1_8_7/win32/win32.c

Index: ruby_1_8_7/ChangeLog
===================================================================
--- ruby_1_8_7/ChangeLog	(revision 30901)
+++ ruby_1_8_7/ChangeLog	(revision 30902)
@@ -1,3 +1,9 @@
+Fri Feb 18 19:46:46 2011  NAKAMURA Usaku  <usa@r...>
+
+	* win32/win32.c (init_stdhandle): backport mistake of r29382.
+	  some code are needless in ruby 1.8.
+	  [ruby-core:34579]
+
 Fri Feb 18 19:22:17 2011  URABE Shyouhei  <shyouhei@r...>
 
 	* configure.in: revert revision r29854.  This revision introduced
Index: ruby_1_8_7/version.h
===================================================================
--- ruby_1_8_7/version.h	(revision 30901)
+++ ruby_1_8_7/version.h	(revision 30902)
@@ -2,7 +2,7 @@
 #define RUBY_RELEASE_DATE "2011-02-18"
 #define RUBY_VERSION_CODE 187
 #define RUBY_RELEASE_CODE 20110218
-#define RUBY_PATCHLEVEL 331
+#define RUBY_PATCHLEVEL 332
 
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 8
Index: ruby_1_8_7/win32/win32.c
===================================================================
--- ruby_1_8_7/win32/win32.c	(revision 30901)
+++ ruby_1_8_7/win32/win32.c	(revision 30902)
@@ -1894,21 +1894,12 @@
     if (fileno(stdin) < 0) {
 	stdin->_file = open_null(0);
     }
-    else {
-	setmode(fileno(stdin), O_BINARY);
-    }
     if (fileno(stdout) < 0) {
 	stdout->_file = open_null(1);
     }
-    else {
-	setmode(fileno(stdout), O_BINARY);
-    }
     if (fileno(stderr) < 0) {
 	stderr->_file = open_null(2);
     }
-    else {
-	setmode(fileno(stderr), O_BINARY);
-    }
     if (nullfd >= 0 && !keep) close(nullfd);
     setvbuf(stderr, NULL, _IONBF, 0);
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]