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

@ -110,9 +110,6 @@ Butler::start_thread()
return -1;
}
fcntl(request_pipe[0], F_SETFD, fcntl(request_pipe[0], F_GETFD) | FD_CLOEXEC);
fcntl(request_pipe[1], F_SETFD, fcntl(request_pipe[1], F_GETFD) | FD_CLOEXEC);
//pthread_detach (thread);
return 0;

View file

@ -74,8 +74,6 @@ rdff_open(const char* path, bool write)
}
}
fcntl(fileno(fd), F_SETFD, fcntl(fileno(fd), F_GETFD) | FD_CLOEXEC);
RDFF ret = (RDFF)malloc(sizeof(struct _RDFF));
ret->fd = fd;
ret->size = size;