Bug#290507: vim does not close file upon :sh

James Vega jamessan at debian.org
Fri Sep 11 18:51:47 UTC 2009

On Fri, Sep 11, 2009 at 01:36:45PM +0200, Bram Moolenaar wrote:
> James -
> > Updated patch attached.  The flags are retrieved first and F_SETFD is
> > only called if that was successful and FD_CLOEXEC isn't already set.
> > I've also added an autoconf check which defines HAVE_FD_CLOEXEC if it is
> > successful.  That is also used to guard the related code instead of the
> > previous "#ifdef UNIX".
> > 
> > I followed the model of similar autoconf checks for the FD_CLOEXEC
> > check.  I think it should be sufficient but I don't have any systems
> > which have fcntl.h yet don't define FD_CLOEXEC.
> Now that I wanted to look into this I notice that you forgot to attach
> the patch.

Sorry about that.  Actually attached this time. :)

GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cloexec.diff
Type: text/x-diff
Size: 3970 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090911/a245fa5b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090911/a245fa5b/attachment.pgp>

More information about the pkg-vim-maintainers mailing list