Browse Source

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.
Sergey Poznyakoff 11 years ago
parent
commit
b4afdd0e28
2 changed files with 2 additions and 1 deletions
  1. 1 0
      THANKS
  2. 1 1
      src/create.c

+ 1 - 0
THANKS

@@ -119,6 +119,7 @@ Danny R. Johnston	[email protected]
 Dave Barr		[email protected]
 Dave Gentzel		[email protected]
 Dave Gregorich		[email protected]
+David Barri		[email protected]
 David Brown		[email protected]
 David J. MacKenzie	[email protected]
 David Johnson		[email protected]

+ 1 - 1
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);