]> Dogcows Code - chaz/tar/blobdiff - src/xheader.c
(OLDGNU_NAME_FIELD_SIZE): New constant
[chaz/tar] / src / xheader.c
index 2cfa683336d0bb63d913ebd040b53cf37f308901..0893bb393141cd3b7aac84e0e3e92efdb5c4eef6 100644 (file)
    with this program; if not, write to the Free Software Foundation, Inc.,
    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#include "system.h"
+#include <system.h>
 
 #include <fnmatch.h>
 #include <hash.h>
 #include <quotearg.h>
+#include <stpcpy.h>
 #include <xstrtol.h>
 
 #include "common.h"
 
-#define obstack_chunk_alloc xmalloc
-#define obstack_chunk_free free
-#include <obstack.h>
-
 #include <fnmatch.h>
 
 static bool xheader_protected_pattern_p (char const *pattern);
@@ -162,7 +159,7 @@ xheader_set_keyword_equal (char *kw, char *eq)
   if (strcmp (kw, "delete") == 0)
     {
       if (xheader_protected_pattern_p (p))
-       USAGE_ERROR ((0, 0, _("Pattern %s cannot be used"), p));
+       USAGE_ERROR ((0, 0, _("Pattern %s cannot be used"), quote (p)));
       xheader_list_append (&keyword_pattern_list, p, NULL);
     }
   else if (strcmp (kw, "exthdr.name") == 0)
@@ -219,10 +216,10 @@ to_decimal (uintmax_t value, char *where, size_t size)
      %d                       The directory name of the file,
                               equivalent to the result of the
                               dirname utility on the translated
-                              pathname.
+                              file name.
      %f                       The filename of the file, equivalent
                               to the result of the basename
-                              utility on the translated pathname.
+                              utility on the translated file name.
      %p                       The process ID of the pax process.
      %%                       A '%' character. */
 
This page took 0.024059 seconds and 4 git commands to generate.