cvs commit: fptools/ghc/utils/unlit unlit.c
Simon Marlow
simonmar at glass.cse.ogi.edu
Mon Nov 3 04:25:40 EST 2003
simonmar 2003/11/03 04:25:40 PST
Modified files:
ghc/utils/unlit unlit.c
Log:
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.
Revision Changes Path
1.12 +39 -12 fptools/ghc/utils/unlit/unlit.c
More information about the Cvs-ghc
mailing list