summaryrefslogtreecommitdiff
path: root/bin/dd/misc.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2024-08-20 23:40:40 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2024-08-20 23:40:40 +0000
commitcbbaf640930e293c05eb6f6921efbc899ef0befa (patch)
treeef809fe37eb2f7853f58d8cc5a2bdb4faf70ce73 /bin/dd/misc.c
parentf69df1459b01867f44502c0379f1fcc3b9b77016 (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