ruby-changes:20541
From: kazu <ko1@a...>
Date: Thu, 21 Jul 2011 00:03:35 +0900 (JST)
Subject: [ruby-changes:20541] kazu:r32588 (trunk): * io.c (rb_update_max_fd): remove parentheses. they are not in macro.
kazu 2011-07-21 00:00:00 +0900 (Thu, 21 Jul 2011) New Revision: 32588 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32588 Log: * io.c (rb_update_max_fd): remove parentheses. they are not in macro. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 32587) +++ ChangeLog (revision 32588) @@ -1,3 +1,8 @@ +Wed Jul 20 23:02:18 2011 Kazuhiro NISHIYAMA <zn@m...> + + * io.c (rb_update_max_fd): remove parentheses. they are not in + macro. + Wed Jul 20 22:22:23 2011 Tanaka Akira <akr@f...> * include/ruby/intern.h (rb_update_max_fd): declaration moved from Index: io.c =================================================================== --- io.c (revision 32587) +++ io.c (revision 32588) @@ -154,7 +154,7 @@ void rb_update_max_fd(int fd) { - if (max_file_descriptor < (fd)) max_file_descriptor = (fd); + if (max_file_descriptor < fd) max_file_descriptor = fd; } #define argf_of(obj) (*(struct argf *)DATA_PTR(obj)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/