summaryrefslogtreecommitdiff
path: root/libs/pbd/file_manager.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-06-07 21:07:41 +0200
committerRobin Gareus <robin@gareus.org>2013-06-07 21:07:41 +0200
commit4cb31ef74ed9f40ee2d68fed5fcf7ebddea00dce (patch)
tree0a772727e663fc793a9bef7cbb6aaecb6888e761 /libs/pbd/file_manager.cc
parentb26cc125135feae4720d8910a8df3b0d2372f71b (diff)
Revert all close-on-exec changes from earlier today
with b26cc125 these are no longer needed.
Diffstat (limited to 'libs/pbd/file_manager.cc')
-rw-r--r--libs/pbd/file_manager.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/pbd/file_manager.cc b/libs/pbd/file_manager.cc
index fb3227a922..a71ffca190 100644
--- a/libs/pbd/file_manager.cc
+++ b/libs/pbd/file_manager.cc
@@ -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);
}