summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 12:26:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-20 12:26:58 +0000
commit766fa6f79bd4c23caa2c6c0578d3f3e5cc30ae22 (patch)
treec1947e6b4cc63c93f66096f2fcdc2f8aaab78811 /ext
parent01ee7110e6f52b308f3995a114a1f0dbba8fdf4e (diff)
downloadruby-766fa6f79bd4c23caa2c6c0578d3f3e5cc30ae22.tar.gz
ruby-766fa6f79bd4c23caa2c6c0578d3f3e5cc30ae22.tar.xz
ruby-766fa6f79bd4c23caa2c6c0578d3f3e5cc30ae22.zip
* ext/io/wait/lib/nonblock.rb: disable on platforms non-blocking flag
is not available. fixed: [ruby-dev:27187] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/io/wait/lib/nonblock.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/wait/lib/nonblock.rb b/ext/io/wait/lib/nonblock.rb
index 46511fb40..2103fdf25 100644
--- a/ext/io/wait/lib/nonblock.rb
+++ b/ext/io/wait/lib/nonblock.rb
@@ -20,4 +20,4 @@ class IO
ensure
self.nonblock = nb
end
-end
+end if defined?(Fcntl::F_GETFL)