autoconf-patches
[Top][All Lists]
Advanced

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

Re: coreutils-5.1.3 released: bug-fix-only, candidate for stable5.2.0


From: Bruce Korb
Subject: Re: coreutils-5.1.3 released: bug-fix-only, candidate for stable5.2.0
Date: Wed, 11 Feb 2004 13:00:48 -0800

Paul Eggert wrote:

> Autoconf is littered with code like this:
> 
>   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
>   ac_i=`echo "$ac_i" | sed "$ac_script"`
> 
> This passes an argument with two trailing slashes to 'sed'.
> Does it misbehave too, under OSF/Tru64 5.1?

It cannot possibly and if it did, then you gotta test for it,
then choke and die.  The slashes are all protected with quotes.
Were the last line to read:

>   ac_i=`echo "$ac_i" | sed $ac_script`

you would have a different situation.  Do those different situations exist?

> The bug seems to be pretty fundamental; I'm not sure it's worth coding
> around.  But if it is, then here's a proposed patch to the autoconf
> manual.

No.  Don't code around it.  Autoconf is slow enough.  :-)

Cheers - Bruce




reply via email to

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