]> Dogcows Code - chaz/tar/blobdiff - src/delete.c
(contains_dot_dot): Fix double-dot recognition in case of duplicate /. Patch by Dmitr...
[chaz/tar] / src / delete.c
index 160d5ba6ad61ee602441fff417847bfcc90775ac..d59a857f5f9b663adfbdab89f39eba048e7edf80 100644 (file)
@@ -5,7 +5,7 @@
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by the
-   Free Software Foundation; either version 2, or (at your option) any later
+   Free Software Foundation; either version 3, or (at your option) any later
    version.
 
    This program is distributed in the hope that it will be useful, but
@@ -307,10 +307,10 @@ delete_archive_members (void)
            }
          /* Copy header.  */
 
-         if (extended_header.size)
+         if (current_stat_info.xhdr.size)
            {
-             write_recent_bytes (extended_header.buffer,
-                                 extended_header.size);
+             write_recent_bytes (current_stat_info.xhdr.buffer,
+                                 current_stat_info.xhdr.size);
            }
          else
            {
This page took 0.020671 seconds and 4 git commands to generate.