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

ruby-changes:36547

From: nobu <ko1@a...>
Date: Fri, 28 Nov 2014 12:39:26 +0900 (JST)
Subject: [ruby-changes:36547] nobu:r48629 (trunk): file.c: unnecessary #undef

nobu	2014-11-28 12:39:18 +0900 (Fri, 28 Nov 2014)

  New Revision: 48629

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

  Log:
    file.c: unnecessary #undef
    
    * file.c (flock): remove unnecessary #undef flock, trace of green
      thread polling.  patched by Rohan Garg.  [Bug #10551]

  Modified files:
    trunk/file.c
Index: file.c
===================================================================
--- file.c	(revision 48628)
+++ file.c	(revision 48629)
@@ -4551,7 +4551,6 @@ rb_file_flock(VALUE obj, VALUE operation https://github.com/ruby/ruby/blob/trunk/file.c#L4551
     }
     return INT2FIX(0);
 }
-#undef flock
 
 static void
 test_check(int n, int argc, VALUE *argv)

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

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