CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/09/13 18:00:29
Modified files:
usr.bin/xinstall: xinstall.c
Log message:
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@
