[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AT_CHECK_INTERACTIVE
From: |
Paul Eggert |
Subject: |
Re: AT_CHECK_INTERACTIVE |
Date: |
Sun, 21 Jan 2007 12:28:32 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> I'm a bit afraid this warning in autoconf.info(File Descriptors):
> | Don't rely on open file descriptors being open in child processes.
> | In `ksh', file descriptors above 2 which are opened using `exec N>file'
> | are closed by a subsequent `exec' (such as that involved in the
> | fork-and-exec which runs a program or script). [...]
>
> may torpedo this nice idea; not to speak of Ultrix, of course.
For ksh I think/hope we're OK, since the problem applies only for
exec'ed programs, whereas all the fiddling you're doing is within ksh
itself. I haven't tested your approach among ksh versions, though.