joyent/libuv — pull request #1223 by orangemocha (2014-03-31 19:18:20+00:00)
Title: windows: fix opening of read-only stdin pipes

Fix https://github.com/joyent/node/issues/7345

Google Chrome is launching native messaging hosts by invoking cmd.exe
with input/output redirected from/to named pipes. The host ends up
with a read-only handle to the stdin pipe. This is causing
SetNamedPipeHandleState to fail.