* doc/tar.texi: Update Back-Cover text to reflect new GNU wording.

2007-12-17  Paul Eggert  <eggert@cs.ucla.edu>

Exit with nonzero status if a close fails on an archive.
Problem (and initial trivial fix)
* src/buffer.c (close_archive, new_volume): close_error, not close_warn.
This commit is contained in:
Paul Eggert
2008-01-31 00:50:12 +00:00
parent 6e85425618
commit c0e0d06e69
3 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -833,7 +833,7 @@ close_archive (void)
verify_volume ();
if (rmtclose (archive) != 0)
close_warn (*archive_name_cursor);
close_error (*archive_name_cursor);
sys_wait_for_child (child_pid);
@@ -1021,7 +1021,7 @@ new_volume (enum access_mode mode)
current_block = record_start;
if (rmtclose (archive) != 0)
close_warn (*archive_name_cursor);
close_error (*archive_name_cursor);
archive_name_cursor++;
if (archive_name_cursor == archive_name_array + archive_names)