ruby-changes:18753
From: akr <ko1@a...>
Date: Fri, 4 Feb 2011 19:16:38 +0900 (JST)
Subject: [ruby-changes:18753] Ruby:r30780 (trunk): * enc/trans/utf8_mac.trans: parenthesize macro arguments.
akr 2011-02-04 19:14:53 +0900 (Fri, 04 Feb 2011) New Revision: 30780 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30780 Log: * enc/trans/utf8_mac.trans: parenthesize macro arguments. Modified files: trunk/ChangeLog trunk/enc/trans/utf8_mac.trans Index: ChangeLog =================================================================== --- ChangeLog (revision 30779) +++ ChangeLog (revision 30780) @@ -1,3 +1,7 @@ +Fri Feb 4 19:14:27 2011 Tanaka Akira <akr@f...> + + * enc/trans/utf8_mac.trans: parenthesize macro arguments. + Fri Feb 4 12:11:51 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * string.c (str_utf8_nth): fixed a conditon of optimized lead Index: enc/trans/utf8_mac.trans =================================================================== --- enc/trans/utf8_mac.trans (revision 30779) +++ enc/trans/utf8_mac.trans (revision 30780) @@ -52,7 +52,7 @@ int end; int len; }; -#define buf_length(sp) (sp->len) +#define buf_length(sp) ((sp)->len) int buf_bytesize(struct from_utf8_mac_status *sp) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/