bareos2015: bareos-13.2 ea420e46

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-13.2 2013-05-04 23:01 bareos-13.2 0d0faac5 Pending
Changeset Use the smarter filedescriptor closing in bpipe.

Instead of closing the filedescriptors ourself (and a maximum
of 29 (32 - 3)) use fcntl(F_CLOSEM) or closefrom() library call
to perform what we really want e.g. close all unneeded filedescriptors
of the forked process.
mod - src/lib/bpipe.c Diff File
mod - src/lib/daemon.c Diff File