]> Dogcows Code - chaz/tar/commit
* gnulib.modules: Add closeout, exitfial.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Feb 2006 23:51:37 +0000 (23:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Feb 2006 23:51:37 +0000 (23:51 +0000)
commit84378fa99ae3ce256fea9eb25d8ae999d1c91fdf
treedd2f099a99476bd920082f518b753d51bfca2aeb
parent78b078b455b834695ebd3104ec3dbe8a4ac9f3a3
* gnulib.modules: Add closeout, exitfial.
* lib/.cvsignore: Add __fpending.c, __fpending.h, closeout.c,
closeout.h.
* src/buffer.c: Incluse closeout.h.
(_open_archive): Use freopen rather than fopen, so
that stdlis is always either stdout or stderr.  Use
close_stdout_set_file_name to report its name.
* src/tar.c: Include closeout.h and exitfail.h.
(parse_opt, usage): Call close_stdout as appropriate, to check for
write errors.
(decode_options): Exit with status TAREXIT_FAILURE, not 1.
(main): Set exit_failure, to exit with proper status on memory
allocation failure and the like.
Use close_stdout rather than rolling our own test.
ChangeLog
gnulib.modules
lib/.cvsignore
src/buffer.c
src/tar.c
This page took 0.026599 seconds and 4 git commands to generate.