]> Dogcows Code - chaz/tar/commitdiff
(write_gnu_long_link): Use oldgnu magic with @LongLink blocks.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 25 Nov 2003 07:04:45 +0000 (07:04 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 25 Nov 2003 07:04:45 +0000 (07:04 +0000)
src/create.c

index 7cecd4f9e290839c43f0ccf530009088af4c3a34..7ba71dc1e2661bc042f4a933c3c539c1cf01353f 100644 (file)
@@ -413,6 +413,7 @@ write_gnu_long_link (struct tar_stat_info *st, const char *p, char type)
   union block *header;
 
   header = start_private_header ("././@LongLink", size);
   union block *header;
 
   header = start_private_header ("././@LongLink", size);
+  strcpy (header->header.magic, OLDGNU_MAGIC);
   header->header.typeflag = type;
   finish_header (st, header, -1);
 
   header->header.typeflag = type;
   finish_header (st, header, -1);
 
This page took 0.024198 seconds and 4 git commands to generate.