]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Windows apparently sends ERROR_BROKEN_PIPE when a pipe we're reading
authorSimon Tatham <anakin@pobox.com>
Tue, 27 Mar 2007 18:49:59 +0000 (18:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 27 Mar 2007 18:49:59 +0000 (18:49 +0000)
commit702a92ceb848394f722292cd4a54c414d4e0be67
tree8a15bf780f4aaa4fa108b17b3ed1741534f6a72e
parent7e4eb1f4042323d42e9b7753714a6bf1becd9b5e
Windows apparently sends ERROR_BROKEN_PIPE when a pipe we're reading
from is closed normally from the writing end. This is ludicrous; if
that situation isn't a natural EOF, _nothing_ is. So if we get that
particular error, we pretend it's EOF.

[originally from svn r7415]
windows/winhandl.c