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

ruby-changes:32281

From: nobu <ko1@a...>
Date: Mon, 23 Dec 2013 16:00:10 +0900 (JST)
Subject: [ruby-changes:32281] nobu:r44360 (trunk): hash.c: fix commit miss

nobu	2013-12-23 16:00:01 +0900 (Mon, 23 Dec 2013)

  New Revision: 44360

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

  Log:
    hash.c: fix commit miss
    
    * hash.c (HAS_EXTRA_STATES): remove extra parenthesis.
      [Bug #9275]

  Modified files:
    trunk/hash.c
Index: hash.c
===================================================================
--- hash.c	(revision 44359)
+++ hash.c	(revision 44360)
@@ -28,9 +28,9 @@ https://github.com/ruby/ruby/blob/trunk/hash.c#L28
 #endif
 
 #define HAS_EXTRA_STATES(hash, klass) ( \
-    (klass = has_extra_methods(rb_obj_class(hash))) != 0 || \
-     FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
-     !NIL_P(RHASH_IFNONE(hash))))
+    ((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \
+    FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \
+    !NIL_P(RHASH_IFNONE(hash)))
 #define HASH_REJECT_COPY_EXTRA_STATES 1
 
 static VALUE

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

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