diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-31 13:08:27 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-31 13:08:27 +0000 |
commit | ff4ba406a2c334ee1148b6c0797273097462f8c7 (patch) | |
tree | 0c32af3c825023e60751be0a346f10467f9a68d5 | |
parent | 7fb70b4e0fe9ecfbc66a06c9dbeee766960a5eb1 (diff) |
* missing/langinfo.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | missing/langinfo.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Jan 30 17:19:46 2011 Tanaka Akira <[email protected]> + + * missing/langinfo.c: parenthesize macro arguments. + Mon Jan 31 21:57:39 2011 KOSAKI Motohiro <[email protected]> * configure.in: revert r30698. diff --git a/missing/langinfo.c b/missing/langinfo.c index 594fe1fcf1..143ee0e820 100644 --- a/missing/langinfo.c +++ b/missing/langinfo.c @@ -56,7 +56,7 @@ #endif #define digit(x) ((x) >= '0' && (x) <= '9') -#define strstart(s, n) (strncasecmp(s, n, strlen(n)) == 0) +#define strstart(s, n) (strncasecmp((s), (n), strlen(n)) == 0) static char buf[16]; |