diff options
author | 2012-09-14 00:00:29 +0000 | |
---|---|---|
committer | 2012-09-14 00:00:29 +0000 | |
commit | 4af2953f1bfafee02ad151c26ce37b4c6da984f2 (patch) | |
tree | 0394b3dd807375e26d878976b3b3bd5145ff3a83 /usr.bin/ssh/sshconnect.c | |
parent | Fix comment line length (diff) | |
download | wireguard-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