aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-11 10:51:15 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-16 15:31:28 -0700
commit1ce30deec3ede38fba7fef2c35eafa4de700f333 (patch)
tree55a7895298b82c39115bf7c92c6da4f17cbddcce /exec.cpp
parent8ed08872b92fda01e4a1f8c2ff159085e76a6f4b (diff)
Remove the close_old field from io_fd_t, which is never actually
respected - a bug dating back to fish 1.x! The fd that would be closed is actually closed in io_cleanup_fds().
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index ca2c05d7..ae4c496d 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -460,7 +460,7 @@ static bool io_transmogrify(const io_chain_t &in_chain, io_chain_t *out_chain, s
}
opened_fds.push_back(fd);
- out.reset(new io_fd_t(in->fd, fd, true));
+ out.reset(new io_fd_t(in->fd, fd));
break;
}