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

ruby-changes:19228

From: akr <ko1@a...>
Date: Tue, 12 Apr 2011 21:59:35 +0900 (JST)
Subject: [ruby-changes:19228] Ruby:r31267 (trunk): * include/ruby/st.h: parenthesize macro arguments.

akr	2011-04-12 20:54:28 +0900 (Tue, 12 Apr 2011)

  New Revision: 31267

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

  Log:
    * include/ruby/st.h: parenthesize macro arguments.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/st.h

Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 31266)
+++ include/ruby/st.h	(revision 31267)
@@ -95,7 +95,7 @@
     struct st_table_entry *head, *tail;
 };
 
-#define st_is_member(table,key) st_lookup(table,key,(st_data_t *)0)
+#define st_is_member(table,key) st_lookup((table),(key),(st_data_t *)0)
 
 enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK};
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31266)
+++ ChangeLog	(revision 31267)
@@ -1,3 +1,7 @@
+Tue Apr 12 20:54:12 2011  Tanaka Akira  <akr@f...>
+
+	* include/ruby/st.h: parenthesize macro arguments.
+
 Tue Apr 12 19:19:50 2011  NARUSE, Yui  <naruse@r...>
 
 	* lib/uri/common.rb: avoid race condition. fixes #4572

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

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