X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbuffer.c;h=8dc6e88888dcb632c2b226b1737a5a8f77743a08;hb=55a96565b5765034ca4d5b26ee0922f92357af2c;hp=7fd43f647e694020fa82f35265416d2229c70926;hpb=37400fa94ef4d2928ebf7206c4cd9fadd4e7e245;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index 7fd43f6..8dc6e88 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -293,6 +293,7 @@ open_archive (enum access_mode wanted_access) { case ACCESS_READ: child_pid = sys_child_open_for_uncompress (); + read_full_records_option = false; break; case ACCESS_WRITE: @@ -644,7 +645,7 @@ short_read (ssize_t status) /* FIXME: for size=0, multi-volume support. On the first record, warn about the problem. */ - if (!read_full_records_option && verbose_option + if (!read_full_records_option && verbose_option > 1 && record_start_block == 0 && status > 0) { unsigned long rsize = (record_size - left) / BLOCKSIZE;