[Xapian-discuss] File handles

double ninive at gmx.at
Wed Nov 17 07:32:38 GMT 2010


Hello,

Xapian-Connect() + fork() + exec()
will result in a handle leak, because the file handles remain
open during `exec()`.
Maybe to open the handles with "O_CLOEXEC" or to flag them
using `fcntl(FD_CLOEXEC)`?

Thanks
Marcus




More information about the Xapian-discuss mailing list