From 11170c89e260cf8e6aff5362f169a59cb09f1320 Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Tue, 30 Mar 2010 14:24:41 -0700 Subject: [PATCH] Appease GCC 4.3 --- vm/builtin/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/builtin/io.cpp b/vm/builtin/io.cpp index f3782ad7ea..52344c7580 100644 --- a/vm/builtin/io.cpp +++ b/vm/builtin/io.cpp @@ -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); }