Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/lib/pidfile.c

    r414 r740  
    2121
    2222#include "includes.h"
     23#include "system/filesys.h"
    2324
    2425#ifndef O_NONBLOCK
     
    146147        /* Leave pid file open & locked for the duration... */
    147148        SAFE_FREE(name);
     149
     150        /* set the close on exec so that we don't leak the fd */
     151        fcntl(fd, F_SETFD, FD_CLOEXEC);
    148152}
    149153
Note: See TracChangeset for help on using the changeset viewer.