[ruby-cvs:69331] nobu:r62150 (trunk): win32.c: EPIPE for ERROR_NO_DATA
nobu at ruby-lang.org
nobu at ruby-lang.org
Thu Feb 1 11:56:28 JST 2018
nobu 2018-02-01 11:56:28 +0900 (Thu, 01 Feb 2018)
New Revision: 62150
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62150
Log:
win32.c: EPIPE for ERROR_NO_DATA
* win32/win32.c (rb_w32_write): writing to closed pipe fails with
ERROR_NO_DATA but msvcrt maps it to EINVAL. map it to EPIPE.
Modified files:
trunk/test/ruby/test_pipe.rb
trunk/win32/win32.c
More information about the ruby-cvs
mailing list