]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of ignoring the EEXIST from link(), unconditionally unlink
authortruckman <truckman@FreeBSD.org>
Fri, 13 May 2016 05:49:02 +0000 (05:49 +0000)
committertruckman <truckman@FreeBSD.org>
Fri, 13 May 2016 05:49:02 +0000 (05:49 +0000)
commite8967517e210dc6f76428a7e1c29c4a009490c26
tree494482015bf93bef0d5c4127ef18663508df1106
parentbd25d2bcb9dfc2e99b6ff7390ed4615019280e51
Instead of ignoring the EEXIST from link(), unconditionally unlink
the terget before calling link().  This should prevent links to an
old copy of the file from being retained.
usr.bin/catman/catman.c