win32/win32.c (setfl): extract from fcntl().
win32/win32.c (dupfd): new function to support F_DUPFD. base on a patch written by akr.
win32/win32.c (fcntl): use above functions.
include/ruby/win32.h (F_DUPFD): define. [experimental]
include/ruby/win32.h (F_SETFL): change the value to correspond with other platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
win32/win32.c (setfl): extract from fcntl().
win32/win32.c (dupfd): new function to support F_DUPFD. base on a
patch written by akr.
win32/win32.c (fcntl): use above functions.
include/ruby/win32.h (F_DUPFD): define. [experimental]
include/ruby/win32.h (F_SETFL): change the value to correspond with
other platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e