diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-06 19:28:56 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-05-12 18:01:01 +1000 |
commit | 5abe895bd25a9e07b7d98617d145dbf048e44a21 (patch) | |
tree | 58f1655ac902437d624976a3a7c0023402e739da /src/input.c | |
parent | [REDIR] Replace copyfd by savefd and use dup2 elsewhere (diff) | |
download | dash-5abe895bd25a9e07b7d98617d145dbf048e44a21.tar.gz dash-5abe895bd25a9e07b7d98617d145dbf048e44a21.zip |
[REDIR] Remove redundant CLOEXEC calls
Now that we're marking file descriptors as CLOEXEC in savefd, we no longer need to close them on exec or in setinputfd.
Diffstat (limited to '')
-rw-r--r-- | src/input.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 7f99d4a..11f7a3f 100644 --- a/src/input.c +++ b/src/input.c @@ -452,7 +452,6 @@ out: void setinputfd(int fd, int push) { - (void) fcntl(fd, F_SETFD, FD_CLOEXEC); if (push) { pushfile(); parsefile->buf = 0; |