1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-04-12 11:54:28 +00:00
parent 8553b70a39
commit 77a12692ee
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Apr 12 20:54:12 2011 Tanaka Akira <akr@fsij.org>
* include/ruby/st.h: parenthesize macro arguments.
Tue Apr 12 19:19:50 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/uri/common.rb: avoid race condition. fixes #4572

View file

@ -95,7 +95,7 @@ struct st_table {
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};