autoconf-patches
[Top][All Lists]
Advanced

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

RE: Minor tweaks to path handling (re-submit)


From: Tim Van Holder
Subject: RE: Minor tweaks to path handling (re-submit)
Date: Wed, 18 Apr 2001 00:31:49 +0200

> Tim, I must confess I don't understand too well the last chunk of your
> patch, that related to config.status.  Could you detail a little more?
> Thanks!

OK - configure is writing to config.log, and then calls config.status.
config.status does its own redirection, appending to config.log.
Unfortunately, on DOS this fails, as config.log is still kept open
by configure, so config.status won't be able to write to it; its output
is simply discarded.
So I exec the FD to /dev/null, effectively closing config.log, so it
can be properly (re)opened and appended to by config.status.
When coming back to configure, we need to make the FD available again,
as the exit trap sends the exit status to config.log as well, so it
is re-exec'ed to config.log (for both the 'config.status failed' and
'config.status ran OK' case.
That clear enough? :-)




reply via email to

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