Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Bjoern Fischer

On Wed, Jun 12, 2002 at 04:27:19AM +0200, Cyrille Lefevre wrote:
[...]
> already done using the NetBSD way. the problem is that they use
> LC_TIME (hugh!) to pass the format string to strftime while
> LC_TIME isn't suppose to contain any format strings but a locale
> name.

Ew! That won't work for my needs.

> I'm not sure that adding a yet another non portable option would
> be good. how about using env var PAX_TIMEFMT instead ?

PAX_TIMEFMT would be fine. Does it already exist?

Björn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Cyrille Lefevre

On Wed, Jun 12, 2002 at 03:07:45AM +0200, Bjoern Fischer wrote:
> > PS : I've finished to merge diffs from OpenBSD last week, but diffs
> > w/ NetBSD are really big... so, be patient :P
> 
> What about bin/35886?

already done using the NetBSD way. the problem is that they use
LC_TIME (hugh!) to pass the format string to strftime while
LC_TIME isn't suppose to contain any format strings but a locale
name. so, I don't know yet how to handle this case.  whatever,
I'm not sure that adding a yet another non portable option would
be good. how about using env var PAX_TIMEFMT instead ?

something is missing in the SUSV3 standard. -o can't be use for
reading (not extracting -- aka no -r nor -w) archive.
in other way, I would like to say something like this :
pax -o freebsd.timefmt=... -f archive
but I can't w/o breaking the standard! grrr.

search for the VENDOR keyword in the the following URL for details :

http://www.opengroup.org/onlinepubs/007904975/utilities/pax.html

Cyrille.
-- 
Cyrille Lefevre mailto:[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs)

2002-06-11 Thread Bjoern Fischer

> PS : I've finished to merge diffs from OpenBSD last week, but diffs
> w/ NetBSD are really big... so, be patient :P

What about bin/35886?

Björn


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message