ruby/ext
usa fd9f6bde95 * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new
function to support nonblock-mode of pipes.

* win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA
  if there is no data, but also returns it if remote-end is closed.

* win32/win32.c (rb_w32_write): if cannot to write any data, it may be
  blocking.

* io.c (rb_io_set_nonblock): use rb_w32_set_nonblock for Windows.

* ext/io/nonblock/nonblock.c (rb_io_nonblock_set): use ruby's API when
  setting nonblock-mode.

* test/ruby/test_io.rb: test nonblock pipes on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10 10:42:19 +00:00
..
-test- test_bmethod.rb: block in bmethod test 2014-11-09 14:58:33 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c: [DOC] Add description of 2014-07-31 22:36:16 +00:00
continuation * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
coverage * ext/openssl/depend: remove dependency from internal headers. 2014-05-14 10:55:38 +00:00
date * ext/date/lib/date.rb: fix indent [ci skip] 2014-10-13 20:16:07 +00:00
dbm dbm: typed data 2014-10-04 23:33:01 +00:00
digest Make Digest() thread-safe. 2014-10-31 13:21:51 +00:00
etc win32.c: login name encoding 2014-11-10 08:24:36 +00:00
fcntl protoize no-arguments functions 2014-09-30 05:25:32 +00:00
fiber * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed 2009-01-20 07:17:28 +00:00
fiddle * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
gdbm gdbm: typed data 2014-10-04 23:33:04 +00:00
io * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new 2014-11-10 10:42:19 +00:00
json json/parser: typed data 2014-10-04 23:33:11 +00:00
mathn * complex.c (nucomp_canonicalization): renamed. 2008-12-12 23:40:55 +00:00
nkf protoize no-arguments functions 2014-09-30 05:25:32 +00:00
objspace ext: get rid of inadvertent ID creation 2014-08-03 01:56:16 +00:00
openssl * ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): override 2014-10-22 13:55:24 +00:00
pathname protoize no-arguments functions 2014-09-30 05:25:32 +00:00
psych psych: typed data 2014-10-04 23:33:19 +00:00
pty ruby/io.h: deprecate old macros 2014-10-10 02:27:41 +00:00
racc/cparse racc/cparse: private class 2014-09-29 14:13:50 +00:00
rbconfig/sizeof rbconfig/sizeof: remove garbage 2014-07-26 06:16:19 +00:00
readline protoize no-arguments functions 2014-09-30 05:25:32 +00:00
ripper eventids2.c: reduce size 2014-10-28 02:53:24 +00:00
sdbm sdbm: typed data 2014-10-04 23:33:06 +00:00
socket * ext/socket/unixsocket.c: [DOC] Fix example to render in HTML 2014-10-11 00:33:08 +00:00
stringio ruby/io.h: deprecate old macros 2014-10-10 02:27:41 +00:00
strscan protoize no-arguments functions 2014-09-30 05:25:32 +00:00
syslog Bump Syslog::Logger::VERSION to 2.1.0. 2014-10-31 07:49:18 +00:00
thread thread.c: no function callsin RARRAY_LEN 2014-11-07 16:36:16 +00:00
tk ext/tk/tkutil/tkutil.c: disable untyped data warnings 2014-11-03 06:22:16 +00:00
win32 win32/registry.rb: slice in WCHARs 2014-11-09 03:09:40 +00:00
win32ole ext/win32ole/win32ole_variant.c: use typed data. 2014-10-31 21:33:51 +00:00
zlib ext/zlib/zlib.c: TypedData conversion 2014-10-04 20:56:10 +00:00
.document * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file 2014-08-02 14:55:36 +00:00
Setup * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.atheos * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.emx * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.nacl * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.nt * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
extmk.rb extmk.rb: include UPDATE_LIBRARIES 2014-10-31 03:49:43 +00:00