Ralf Wildenhues <[EMAIL PROTECTED]> 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.
