[Top][All Lists]

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

Re: [Bug-tar] Re: AMTAR brokenness

From: Paul Eggert
Subject: Re: [Bug-tar] Re: AMTAR brokenness
Date: Mon, 19 Apr 2004 00:32:30 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for writing that.  Some minor points:

Alexandre Duret-Lutz <address@hidden> writes:

> address@hidden selects the new pax format defined by POSIX
> +1003.1-2001.  It supports filenames with up to 65535 characters.

Hmm, where did that "65535" come from?  I don't know of any limit of
65535 bytes (presumably you meant bytes, not characters) that is
required by POSIX.

Also, there are moves to change the pax format (so far in an
upward-compatible way, but you never know....).  Perhaps you should
mention that "tar-pax" is intended to be the most recent version of
the pax interchange format, not necessarily the 2001 version.  (This
problem probably afflicts the GNU tar documentation as well....)

> +# Substitute a variable $(am__untar) that exctract such

exctract -> extract

> +  cpio)
> +    am__tar='find "$$tardir" -print | cpio -H $1 -L -o'
> +    am__tar_='find "$tardir" -print | cpio -H $1 -L -o'
> +    am__untar='cpio -i'

Wouldn't it be safer to use 'cpio -H tar -i' rather than 'cpio -i'?
The latter autodetects, but I worry that autodetection isn't infallible.
(I don't know about cpio to be sure here.)

reply via email to

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