X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fxheader.c;h=0893bb393141cd3b7aac84e0e3e92efdb5c4eef6;hb=5c2e32780ed9aa2c03408bf0eeea3fb564fc0b48;hp=f26cf66760a4f447a1b46a290a81c0803f685ceb;hpb=4b6f666105f5878ecbda658152e0ba31035841dc;p=chaz%2Ftar diff --git a/src/xheader.c b/src/xheader.c index f26cf66..0893bb3 100644 --- a/src/xheader.c +++ b/src/xheader.c @@ -16,7 +16,7 @@ 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 #include #include @@ -26,10 +26,6 @@ #include "common.h" -#define obstack_chunk_alloc xmalloc -#define obstack_chunk_free free -#include - #include static bool xheader_protected_pattern_p (char const *pattern); @@ -163,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) @@ -220,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. */