From: Sergey Poznyakoff Date: Tue, 25 Nov 2003 07:04:45 +0000 (+0000) Subject: (write_gnu_long_link): Use oldgnu magic with @LongLink blocks. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=25d9ca11632b3f4c643c3a5bcacc384986388b16;p=chaz%2Ftar (write_gnu_long_link): Use oldgnu magic with @LongLink blocks. --- diff --git a/src/create.c b/src/create.c index 7cecd4f..7ba71dc 100644 --- a/src/create.c +++ b/src/create.c @@ -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); + strcpy (header->header.magic, OLDGNU_MAGIC); header->header.typeflag = type; finish_header (st, header, -1);