mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-19 06:35:00 +00:00
* 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:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user