diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-20 15:00:00 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-20 15:00:00 +0000 |
commit | 55b0c9fb6caf4e578982ac7354a943d2d6cc4289 (patch) | |
tree | 601da6e59db258ca9c5e31758dc8a4282c234da8 /io.c | |
parent | b41ccc4a9c4d4900e79642bb98ad87b2ba63e766 (diff) | |
download | ruby-55b0c9fb6caf4e578982ac7354a943d2d6cc4289.tar.gz |
* io.c (rb_update_max_fd): remove parentheses. they are not in macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |