[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] remove config.status race condition
From: |
Lars J. Aas |
Subject: |
Re: [patch] remove config.status race condition |
Date: |
Fri, 16 Feb 2001 13:29:43 +0100 |
User-agent: |
Mutt/1.2.5i |
On Thu, Feb 15, 2001 at 08:47:54PM -0500, Pavel Roskin wrote:
: Hello, Lars!
: > This patch removes a race condition in config.status.
:
: Neighter configure nor config.status should be run in the same time in the
: same directory. Please explain why you have to.
I use config.status to generate code from .in templates. Makefile
dependencies sets up the files to be generated when it is needed.
If you do "make -j 4" on an SMP system, chances are that multiple
files will be generated at the same time.
However, the case that triggered the bug is a case of a generated
file that is both a CONFIG_HEADER and a CONFIG_FILE. I therefore
run a pipe:
./config.status --file=-:header.in | ./config.status --header=header:-
This has worked flawlessly for quite some time up till a couple of
weeks ago when this race condition was introduced.
: In this case it's easy to support weird things when you stop supporting
: other weird things (I mean, reentrancy vs. different shell). But you'll
: have to persuade me that your weird thing is more important :-)
Hey, I sent is a patch that fixes a *bug*! Why do I have to justify
myself to you on this one?
Lars J
--
Innovation is one percent inspiration and ninetynine percent perspiration,
and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy'
- [patch] remove config.status race condition, Lars J. Aas, 2001/02/13
- Re: [patch] remove config.status race condition, Pavel Roskin, 2001/02/15
- Re: [patch] remove config.status race condition,
Lars J. Aas <=
- Re: [patch] remove config.status race condition, Akim Demaille, 2001/02/23
- Re: [patch] remove config.status race condition, Pavel Roskin, 2001/02/23
- Re: [patch] remove config.status race condition, Akim Demaille, 2001/02/23
- Re: [patch] remove config.status race condition, Pavel Roskin, 2001/02/23
- Re: [patch] remove config.status race condition, akim, 2001/02/23
- Re: [patch] remove config.status race condition, Pavel Roskin, 2001/02/24
- Re: [patch] remove config.status race condition, akim, 2001/02/24
- Re: [patch] remove config.status race condition, Akim Demaille, 2001/02/25
- RE: [patch] remove config.status race condition, Tim Van Holder, 2001/02/23
- Re: [patch] remove config.status race condition, Akim Demaille, 2001/02/25