On Tue, Jan 03, 2006 at 08:28:05PM +0000, Roger Leigh wrote:
> fd is never closed, and so is left open over an execve(). This can
> cause problems (and is causing me trouble exec'in the LVM tools, which
> spew a lot of warnings about it).
>
> Please could you use fcntl to set FD_CLOEXEC on the fd? This would fix
> the problem quite nicely, for example:
Thanks for submitting this bug report. I've added your suggested fix
(with the proper error checking) to my development sources.
- Ted
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]