When writing session data to stdout or stderr, switch the relevant file
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 30 Sep 2007 12:45:49 +0000 (12:45 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 30 Sep 2007 12:45:49 +0000 (12:45 +0000)
commit7c28d8d6a6a55baa18abdc83bbcdb2eba8ef6bb6
tree28be0428ff84bf7a089fd5d4aa539a0d093f3183
parent0dbf44654a055731a4585543626a3f9d6758fa0d
When writing session data to stdout or stderr, switch the relevant file
descriptor into non-blocking mode temporarily, and correctly handle returns
of EAGAIN from write().  This should fix unix-plink-stdout-nonblock, while
avoiding EAGAIN turning up where we aren't expecting it.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7748 cda61777-01e9-0310-a592-d414129be87e
unix/uxplink.c