autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 1/4] DJGPP fix: Do not redirect standard input in configure s


From: Paolo Bonzini
Subject: Re: [PATCH 1/4] DJGPP fix: Do not redirect standard input in configure scripts.
Date: Mon, 14 Sep 2009 23:35:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3


AFAIU, this redirection is for the rare situation that the script
somehow invokes interactive commands, which will then wait for an
EOF.  So I think replacing it with just

    exec 6>&1

is good enough (I did that in gdb/config/djgpp/config.sed for GDB),
and I believe the proposed patch does just that.

(If I'm barking up the wrong tree, please tell what does this code
generate in the configure script, and I will look again.)

No, that's correct.

Paolo




reply via email to

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