git: libfetch: Mark all socket and file descriptors close-on-exec

John Marino marino at crater.dragonflybsd.org
Thu Nov 1 14:57:01 PDT 2012


commit ad48ea3757e4b0125ffb7567af38f499125e6780
Author: John Marino <draco at marino.st>
Date:   Thu Nov 1 20:54:53 2012 +0100

    libfetch: Mark all socket and file descriptors close-on-exec
    
    This allows libfetch to close cached sockets.
    Also add cast that helped FreeBSD move warns to 6
    
    Taken-from: FreeBSD SVN 221822 (12 May 2011)
    Taken-from: FreeBSD SVN 221830 (13 May 2011)

Summary of changes:
 lib/libfetch/common.c |    1 +
 lib/libfetch/file.c   |    4 +++-
 lib/libfetch/ftp.c    |    2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad48ea3757e4b0125ffb7567af38f499125e6780


-- 
DragonFly BSD source repository



More information about the Commits mailing list