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

ruby-changes:8503

From: yugui <ko1@a...>
Date: Thu, 30 Oct 2008 01:18:02 +0900 (JST)
Subject: [ruby-changes:8503] Ruby:r20037 (ruby_1_9_1): merged r20014 from trunk into ruby_1_9_1.

yugui	2008-10-30 01:17:51 +0900 (Thu, 30 Oct 2008)

  New Revision: 20037

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

  Log:
    merged r20014 from trunk into ruby_1_9_1.

  Modified files:
    branches/ruby_1_9_1/win32/win32.c

Index: ruby_1_9_1/win32/win32.c
===================================================================
--- ruby_1_9_1/win32/win32.c	(revision 20036)
+++ ruby_1_9_1/win32/win32.c	(revision 20037)
@@ -4129,10 +4129,8 @@
 	    fd = -1;
 	    goto quit;
 	}
-	if (!(flags & (FDEV | FPIPE)) && (oflag & O_APPEND)) {
+	if (!(flags & (FDEV | FPIPE)) && (oflag & O_APPEND))
 	    flags |= FAPPEND;
-	    SetFilePointer(h, 0, NULL, FILE_END);
-	}
 
 	_set_osfhnd(fd, (long)h);
 	_osfile(fd) = flags | FOPEN;

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

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