[Top][All Lists]
[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: |
Eric Blake |
Subject: |
Re: [PATCH 1/4] DJGPP fix: Do not redirect standard input in configure scripts. |
Date: |
Mon, 14 Sep 2009 05:46:22 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 9/13/2009 1:14 PM:
> This patch should be changed to use a more reliable way to detect DJGPP.
>
Eli suggested DJDIR as the more reliable test than DJGPP.
>
> -exec AS_ORIGINAL_STDIN_FD<&0 </dev/null AS_MESSAGE_FD>&1
> +test -n "$DJGPP" || exec AS_ORIGINAL_STDIN_FD<&0 </dev/null
> +exec AS_MESSAGE_FD>&1
Since /dev/null is faked as a regular file, is there some better thing we
can use to achieve the same effect, rather than disabling the redirection
entirely? Or, put another way, is NUL always available on DJGPP? I'd
like some feedback from DJGPP folks before approving this patch.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkquLQ4ACgkQ84KuGfSFAYCJbgCfTm3WYxk5L8EL/FW1mPTw5QYl
mBsAnjLA4trYhnltPbHp0X/FIOqxBhqt
=Vf4f
-----END PGP SIGNATURE-----