Skip to content

Commit

Permalink
* io.c (rb_update_max_fd): remove parentheses. they are not in macro.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Jul 20, 2011
1 parent b41ccc4 commit 55b0c9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Wed Jul 20 23:02:18 2011 Kazuhiro NISHIYAMA <[email protected]>

* io.c (rb_update_max_fd): remove parentheses. they are not in
macro.

Wed Jul 20 22:22:23 2011 Tanaka Akira <[email protected]>

* include/ruby/intern.h (rb_update_max_fd): declaration moved from
Expand Down
2 changes: 1 addition & 1 deletion io.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static int max_file_descriptor = NOFILE;
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))
Expand Down

0 comments on commit 55b0c9f

Please sign in to comment.