From: Sergey Poznyakoff Date: Sun, 17 Nov 2013 15:29:53 +0000 (+0200) Subject: Fix GNU long link header. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=b4afdd0e2892cbd099352dcfda86230cdca8be02;p=chaz%2Ftar Fix GNU long link header. * src/create.c (write_gnu_long_link): Set timestamp to 0 for backward compatibility. Bug reported by David Barri. * THANKS: Update. --- diff --git a/THANKS b/THANKS index 351dcad..a734fb6 100644 --- a/THANKS +++ b/THANKS @@ -119,6 +119,7 @@ Danny R. Johnston danny@cs.weber.edu Dave Barr barr@math.psu.edu Dave Gentzel gentzel@nova.enet.dec.com Dave Gregorich dtg@ipac.caltech.edu +David Barri japgolly@gmail.com David Brown davidb@davidb.org David J. MacKenzie djm@uunet.uu.net David Johnson David.W.Johnson@colorado.edu diff --git a/src/create.c b/src/create.c index e14e13d..4344a24 100644 --- a/src/create.c +++ b/src/create.c @@ -543,7 +543,7 @@ write_gnu_long_link (struct tar_stat_info *st, const char *p, char type) union block *header; char *tmpname; - header = start_private_header ("././@LongLink", size, start_time.tv_sec); + header = start_private_header ("././@LongLink", size, 0); uid_to_uname (0, &tmpname); UNAME_TO_CHARS (tmpname, header->header.uname); free (tmpname);