[project @ 2003-11-03 12:25:39 by simonmar]
authorsimonmar <unknown>
Mon, 3 Nov 2003 12:25:39 +0000 (12:25 +0000)
committersimonmar <unknown>
Mon, 3 Nov 2003 12:25:39 +0000 (12:25 +0000)
commitea7a05cd38ae85303e1b9efb2647c9658ea39c3c
treec0b6b473b4d4317b6a0382ba3a61acb1c6de271c
parentab5c070d518a94522477388df9f8817d52296bb6
[project @ 2003-11-03 12:25:39 by simonmar]
Add some I/O error checking so that an error when writing the output
file will correctly result in a non-zero exit code.

Currently, if you try to compile a literate Haskell file and /tmp is
full, unlit will write an empty file and exit successfully, leading to
confusing behaviour.
ghc/utils/unlit/unlit.c