Skip to content

Commit

Permalink
Appease GCC 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Phoenix committed Mar 30, 2010
1 parent 71cf2a5 commit 11170c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/builtin/io.cpp
Expand Up @@ -750,7 +750,7 @@ namespace rubinius {
int flags = fcntl(descriptor_->to_native(), F_GETFL);
if(flags == -1) return;

if(flags & O_NONBLOCK == 0) {
if((flags & O_NONBLOCK) == 0) {
flags |= O_NONBLOCK;
fcntl(descriptor_->to_native(), F_SETFL, flags);
}
Expand Down

0 comments on commit 11170c8

Please sign in to comment.