From owner-freebsd-current Tue Jun 11 19:27:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp.noos.fr (zola.noos.net [212.198.2.76]) by hub.freebsd.org (Postfix) with ESMTP id B34A337B410 for ; Tue, 11 Jun 2002 19:27:25 -0700 (PDT) Received: (qmail 25885547 invoked by uid 0); 12 Jun 2002 02:27:24 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.230.194]) (envelope-sender ) by 212.198.2.76 (qmail-ldap-1.03) with SMTP for ; 12 Jun 2002 02:27:24 -0000 Received: from gits.gits.dyndns.org (3s7jluf81aishg42@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.3/8.12.3) with ESMTP id g5C2RNa6095467; Wed, 12 Jun 2002 04:27:23 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.3/8.12.3/Submit) id g5C2RKpU095466; Wed, 12 Jun 2002 04:27:21 +0200 (CEST) (envelope-from root) Date: Wed, 12 Jun 2002 04:27:19 +0200 From: Cyrille Lefevre To: Bjoern Fischer Cc: freebsd stable , freebsd current Subject: Re: pax fix (was Re: WARNING! New GNU Tar in 5-CURRENT could erroneously create world writeable dirs) Message-ID: <20020612022718.GA87876@gits.dyndns.org> Mail-Followup-To: Cyrille Lefevre , Bjoern Fischer , freebsd stable , freebsd current References: <20020607112731.GB28015@gits.dyndns.org> <200206112349.g5BNnu6I044254@gits.gits.dyndns.org> <20020612010745.GB560@no-support.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020612010745.GB560@no-support.loc> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message