summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2012-09-14 00:00:29 +0000
committermillert <millert@openbsd.org>2012-09-14 00:00:29 +0000
commit4af2953f1bfafee02ad151c26ce37b4c6da984f2 (patch)
tree0394b3dd807375e26d878976b3b3bd5145ff3a83 /usr.bin/ssh/sshconnect.c
parentFix comment line length (diff)
downloadwireguard-openbsd-4af2953f1bfafee02ad151c26ce37b4c6da984f2.tar.xz
wireguard-openbsd-4af2953f1bfafee02ad151c26ce37b4c6da984f2.zip
There's no reason to unlink the destination if we can't even open
the source file. This fixes a problem with the databases/ruby-ldap port. Note that I changed the O_TRUNC to O_EXCL to avoid the race between unlink/rename and creat. OK naddy@ jeremy@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
0 files changed, 0 insertions, 0 deletions