]> Dogcows Code - chaz/tar/commitdiff
Fix GNU long link header.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 17 Nov 2013 15:29:53 +0000 (17:29 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 17 Nov 2013 15:31:41 +0000 (17:31 +0200)
* src/create.c (write_gnu_long_link): Set timestamp to
0 for backward compatibility.  Bug reported by David Barri.
* THANKS: Update.

THANKS
src/create.c

diff --git a/THANKS b/THANKS
index 351dcad3125f8131bcc4af4546dbe3290e4968a2..a734fb6439e0cd989a66801d805e66d5a578f932 100644 (file)
--- 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
index e14e13d00e36f8d60a54cef8d03645581ab381f6..4344a24747eeda16d2fc3b7b74adb75917a4bfc3 100644 (file)
@@ -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);
This page took 0.033046 seconds and 4 git commands to generate.