X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fupdate.c;h=fa18c1d67a5e33ab43ad22b14b9ed7a2fa37e369;hb=250db35f17d7700f4d209fd086b7dbc5b7ebe88f;hp=1806fcfafe4a67a33be7c730c3ca28029c8b13e1;hpb=288315211a6cc8e68d460d990ff94835815e68bd;p=chaz%2Ftar diff --git a/src/update.c b/src/update.c index 1806fcf..fa18c1d 100644 --- a/src/update.c +++ b/src/update.c @@ -110,7 +110,7 @@ update_archive (void) name_gather (); open_archive (ACCESS_UPDATE); - xheader_write_global (); + buffer_write_global_xheader (); while (!found_end) { @@ -131,7 +131,7 @@ update_archive (void) archive_format = current_format; if (subcommand_option == UPDATE_SUBCOMMAND - && (name = name_scan (current_stat_info.file_name, false)) != NULL) + && (name = name_scan (current_stat_info.file_name)) != NULL) { struct stat s; @@ -181,7 +181,6 @@ update_archive (void) } tar_stat_destroy (¤t_stat_info); - xheader_destroy (&extended_header); previous_status = status; }