autoconf
[Top][All Lists]
Advanced

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

Re: config.status endless loop


From: Paul Eggert
Subject: Re: config.status endless loop
Date: Fri, 20 Sep 2002 15:38:06 -0700 (PDT)

> From: Peter Eisentraut <address@hidden>
> Date: Fri, 20 Sep 2002 18:35:51 +0200 (CEST)
> 
> When a substitution variable FOO contains the string @FOO@, config.status
> runs forever.

Good catch!  Isn't quoting fun?


> Looking at the code, changing
> 
> s,@FOO@,@FOO@,;t t
> 
> to
> 
> s,@FOO@,@FOO@,g
> 
> would work

That won't handle FOO='@BAR@' and BAR='@FOO@' correctly, and there are
several other counterexamples like that.

The right fix is to escape @ in the right hand side, but this is a bit
trickier.




reply via email to

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