Don't zap the output file before we're ready to compress/decompress --
authorDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 11 Jan 1986 14:07:32 +0000 (06:07 -0800)
committerDonn Seeley <donn@ucbvax.Berkeley.EDU>
Sat, 11 Jan 1986 14:07:32 +0000 (06:07 -0800)
commitbe5873afda5bbf7c10dbd01ff77f67f1aa5e6d8d
tree503ec3ba6310c02c894b9c0e4f86a859cb174d1e
parent7355ccf572d061cb6b74bd2ba4cced8ada7e579e
Don't zap the output file before we're ready to compress/decompress --
in particular don't unlink if we've asked the user about overwriting and
they hit ^C instead of typing 'no'.

SCCS-vsn: usr.bin/compress/compress.c 5.8
usr/src/usr.bin/compress/compress.c