Windows apparently sends ERROR_BROKEN_PIPE when a pipe we're reading
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Mar 2007 18:49:59 +0000 (18:49 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Mar 2007 18:49:59 +0000 (18:49 +0000)
commit425f5af23fa1fb9a2711d4c615c47221e8078de4
tree8a15bf780f4aaa4fa108b17b3ed1741534f6a72e
parentb4ac18ae9c7c937e7359a8bf9d44c6de5f07bd71
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7415 cda61777-01e9-0310-a592-d414129be87e
windows/winhandl.c