[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Warning or error at failed close?
From: |
Vebjorn Ljosa |
Subject: |
Re: [Bug-tar] Warning or error at failed close? |
Date: |
Fri, 30 Nov 2007 08:13:43 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) |
Paul Eggert <address@hidden> writes:
> But there are two calls to close_warn in buffer.c. Why change
> only the one?
Oops, missed that one (in the multiple-volume code).
Vebjorn
--- tar-1.19/src/buffer.c~ 2007-08-26 04:56:55.000000000 -0400
+++ tar-1.19/src/buffer.c 2007-11-30 07:54:26.000000000 -0500
@@ -857,7 +857,7 @@
verify_volume ();
if (rmtclose (archive) != 0)
- close_warn (*archive_name_cursor);
+ close_error (*archive_name_cursor);
sys_wait_for_child (child_pid);
@@ -1045,7 +1045,7 @@
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)