Fix fdToHandle on Windows
authorIan Lynagh <igloo@earth.li>
Mon, 30 Jul 2007 13:31:39 +0000 (13:31 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 30 Jul 2007 13:31:39 +0000 (13:31 +0000)
commit0753b8c7aae3db7bd6870dcbe629110074b3bb8b
treee2d58e948bbf3cca24152a89dd918e535ccf5b2a
parent6e5a642a1a83bbb920da7a29db7299983c1c7201
Fix fdToHandle on Windows
The old setmode code was throwing an exception, and I'm not sure it is
meant to do what we need anyway. For now we assume that all FDs are
both readable and writable.
System/Posix/Internals.hs