diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2024-08-20 23:40:40 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2024-08-20 23:40:40 +0000 |
commit | cbbaf640930e293c05eb6f6921efbc899ef0befa (patch) | |
tree | ef809fe37eb2f7853f58d8cc5a2bdb4faf70ce73 /bin/dd/misc.c | |
parent | f69df1459b01867f44502c0379f1fcc3b9b77016 (diff) |
Now that we have dup2(), csh can use it instead of close()+dup().
Also, as used here, dup/dup2 will clear the close-on-exec flag, so
delete the superfluous fcntl(F_SETFD,0) calls
ok deraadt@
Diffstat (limited to 'bin/dd/misc.c')
0 files changed, 0 insertions, 0 deletions