bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] POSIX vs USTAR format


From: Bdale Garbee
Subject: [Bug-tar] POSIX vs USTAR format
Date: Sat, 14 Feb 2004 22:17:31 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

We've been chasing problems in my Debian packaging of 1.13.92 for which the 
root cause appears to be the decision to use POSIX_FORMAT (ala pax) for 
archives if POSIXLY_CORRECT is defined in the environment.  Frankly, I think 
this violates the principle of least astonishment... 

Please review the discussion captured in our bug tracking system.  Unless
someone has a strong objection, I intend to accept the (reversed) patch to
switch POSIX_FORMAT to USTAR_FORMAT as shown below...

The full bug log can be viewed at:

       http://bugs.debian.org/230872

Bdale


--- tar.c       2004-02-14 00:53:36.000000000 -0500
+++ tar.c.orig  2004-02-14 00:53:00.000000000 -0500
@@ -1276,7 +1276,7 @@
     archive_format = DEFAULT_ARCHIVE_FORMAT;
 
   if (archive_format == GNU_FORMAT && getenv ("POSIXLY_CORRECT"))
-    archive_format = USTAR_FORMAT;
+    archive_format = POSIX_FORMAT; /*FIXME?*/
 
   if (volume_label_option && subcommand_option == CREATE_SUBCOMMAND)
     assert_format (FORMAT_MASK (OLDGNU_FORMAT)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]