Paul Eggert <[EMAIL PROTECTED]> 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)


Reply via email to