if (archive_names == 0)
FATAL_ERROR ((0, 0, _("No archive name given")));
- destroy_stat (¤t_stat_info);
+ tar_stat_destroy (¤t_stat_info);
save_name = 0;
real_s_name = 0;
record_start->header.typeflag = GNUTYPE_VOLHDR;
TIME_TO_CHARS (start_time, record_start->header.mtime);
- finish_header (record_start, -1);
+ finish_header (¤t_stat_info, record_start, -1);
#if 0
current_block++;
#endif
volume_label_option, volno);
TIME_TO_CHARS (start_time, record_start->header.mtime);
record_start->header.typeflag = GNUTYPE_VOLHDR;
- finish_header (record_start, -1);
+ finish_header (¤t_stat_info, record_start, -1);
}
if (real_s_name)
record_start->oldgnu_header.offset);
tmp = verbose_option;
verbose_option = 0;
- finish_header (record_start, -1);
+ finish_header (¤t_stat_info, record_start, -1);
verbose_option = tmp;
if (volume_label_option)
archive_read_error ();
if (status == 0)
- break;
-
+ {
+ char buf[UINTMAX_STRSIZE_BOUND];
+
+ WARN((0, 0, _("Read %s bytes from %s"),
+ STRINGIFY_BIGINT (record_size - left, buf),
+ *archive_name_cursor));
+ break;
+ }
+
if (! read_full_records_option)
{
unsigned long rest = record_size - left;
sys_wait_for_child (child_pid);
- destroy_stat (¤t_stat_info);
+ tar_stat_destroy (¤t_stat_info);
if (save_name)
free (save_name);
if (real_s_name)