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

ruby-changes:23622

From: yugui <ko1@a...>
Date: Thu, 17 May 2012 12:20:18 +0900 (JST)
Subject: [ruby-changes:23622] yugui:r35673 (trunk): * io.c: Fix a mistake on merging the patch in the previous commit.

yugui	2012-05-17 12:20:02 +0900 (Thu, 17 May 2012)

  New Revision: 35673

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

  Log:
    * io.c: Fix a mistake on merging the patch in the previous commit.

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35672)
+++ ChangeLog	(revision 35673)
@@ -1,3 +1,7 @@
+Thu May 17 12:18:47 2012  Yuki Yugui Sonoda  <yugui@g...>
+
+	* io.c: Fix a mistake on merging the patch in the previous commit.
+
 Thu May 17 11:33:07 2012  Yuki Yugui Sonoda  <yugui@g...>
 
 	Imports Ruby's port to NativeClient (a.k.a NaCl).
Index: io.c
===================================================================
--- io.c	(revision 35672)
+++ io.c	(revision 35673)
@@ -1506,7 +1506,7 @@
 
 static void clear_readconv(rb_io_t *fptr);
 
-#if defined(HAVE_FSYNC) || !defined(_WIN32)
+#if defined(HAVE_FSYNC)
 /*
  *  call-seq:
  *     ios.rewind    -> 0
@@ -1635,7 +1635,6 @@
     return Qfalse;
 }
 
-#ifdef HAVE_FSYNC
 /*
  *  call-seq:
  *     ios.sync    -> true or false
@@ -1659,6 +1658,8 @@
     return (fptr->mode & FMODE_SYNC) ? Qtrue : Qfalse;
 }
 
+#ifdef HAVE_FSYNC
+
 /*
  *  call-seq:
  *     ios.sync = boolean   -> boolean

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

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