1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_io.rb (test_fcntl_dupfd): skip if Fcntl::DUPFD

is not defined. Pointed out by CHIKANAGA Tomoyuki. Thanks.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-11-12 17:42:57 +00:00
parent 80c32b2330
commit 3aaf92b5a1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Nov 12 20:57:29 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_io.rb (test_fcntl_dupfd): skip if Fcntl::DUPFD
is not defined. Pointed out by CHIKANAGA Tomoyuki. Thanks.
Sat Nov 12 17:26:10 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (do_ioctl, ioctl_narg_len, setup_narg, rb_ioctl): use

View file

@ -1927,7 +1927,7 @@ End
IO.for_fd(fd).close
end
end
end
end if defined?(Fcntl::F_DUPFD)
def test_cross_thread_close_fd
skip "cross thread close causes hung-up if pipe." if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM