Revert all close-on-exec changes from earlier today

with b26cc125 these are no longer needed.
This commit is contained in:
Robin Gareus 2013-06-07 21:07:41 +02:00
parent b26cc12513
commit 4cb31ef74e
7 changed files with 4 additions and 61 deletions

View file

@ -289,9 +289,6 @@ StdioFileDescriptor::open ()
/* we must have a lock on the FileManager's mutex */
_file = fopen (_path.c_str(), _mode.c_str());
if (_file) {
fcntl(fileno(_file), F_SETFD, fcntl(fileno(_file), F_GETFD) | FD_CLOEXEC);
}
return (_file == 0);
}