This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFT/RFA] bashjar patch
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Fri, 26 May 2006 00:51:32 -0300
- Subject: Re: [RFT/RFA] bashjar patch
- References: <e2u1im$niv$1@sea.gmane.org> <20060502192044.GD1691@iam.uni-bonn.de> <4471E06C.6010300@lu.unisi.ch> <jesln1ktfq.fsf@sykes.suse.de>
On May 23, 2006, Andreas Schwab <schwab@suse.de> wrote:
> This lacks a pair of quotes around `dirname "$1"`. Note that "`dirname
> "$1"`" is not portable,
Well, *using* dirname is not portable :-)
How about some sed magic, or M4sh AS_DIRNAME instead?
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}