[project @ 2002-01-28 13:47:05 by simonmar]
authorsimonmar <unknown>
Mon, 28 Jan 2002 13:47:05 +0000 (13:47 +0000)
committersimonmar <unknown>
Mon, 28 Jan 2002 13:47:05 +0000 (13:47 +0000)
commit6d550803dcc87d017586208024653672401093d2
tree7b7ea70e6a6eaa66771246811dc67777c1c7dfbe
parenta7549035e46b5306ef8e579652580a864ee0b16a
[project @ 2002-01-28 13:47:05 by simonmar]
Never close std file descriptors.  This works around a "problem" in
GHCi: if the program reaches EOF on stdin, it might close it, which in
turn causes the interactive shell to fall over with a "bad file
descriptor" error when it tries to read from stdin.
ghc/lib/std/PrelHandle.hs