]> Dogcows Code - chaz/tar/blobdiff - src/update.c
Global extended_header removed, use new xheader calls instead.
[chaz/tar] / src / update.c
index 1806fcfafe4a67a33be7c730c3ca28029c8b13e1..fa18c1d67a5e33ab43ad22b14b9ed7a2fa37e369 100644 (file)
@@ -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 (&current_stat_info);
-      xheader_destroy (&extended_header);
       previous_status = status;
     }
 
This page took 0.025293 seconds and 4 git commands to generate.