Work around a Windows oddity when a pipe with no reader is written to.
commit73b51e93d2927af2fa9f332f31c25ca2319bd0dd
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 17 Aug 2007 16:40:36 +0000 (17 18:40 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 14 Oct 2007 22:21:10 +0000 (14 23:21 +0100)
tree145b1e22040751de8283e77a28b68dfc35b67c8d
parent93f2b753702fa2d98439203e05d1bacdce42a683
Work around a Windows oddity when a pipe with no reader is written to.

The first WriteFile() returns ERROR_BROKEN_PIPE, subsequent WriteFile()s
return ERROR_NO_DATA, which is not translated to EPIPE, but EINVAL.

Hmpf!
write_or_die.c