]> Dogcows Code - chaz/tar/blobdiff - src/buffer.c
* src/buffer.c (short_read): Remove !read_full_records condition,
[chaz/tar] / src / buffer.c
index 79bb7d6f4d45a6e1b724cf1fa5382838ea84203f..59d4e4f0c16c4c793f1d97e6fb3c67923fbd1150 100644 (file)
@@ -687,7 +687,7 @@ short_read (size_t status)
   left = record_size - status;
 
   if (left && left % BLOCKSIZE == 0
-      && !read_full_records && verbose_option > 1
+      && verbose_option
       && record_start_block == 0 && status != 0)
     {
       unsigned long rsize = status / BLOCKSIZE;
@@ -1567,6 +1567,9 @@ _gnu_flush_read (void)
         {
           while (!try_new_volume ())
             ;
+         if (current_block == record_end)
+           /* Necessary for blocking_factor == 1 */
+           flush_archive();
           return;
         }
       else if (status == SAFE_READ_ERROR)
This page took 0.024856 seconds and 4 git commands to generate.