diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2008-12-11 15:43:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2008-12-11 15:43:20 +0000 |
commit | 64f9981f717e4751c1460c2149f28fdcaefb18d8 (patch) | |
tree | 660a9f0eb864d6825a8554dc1dafe39b79a931fd /kerberosV | |
parent | bea997a6c1b5d2bb12c1779c28c9ba3865d5baa8 (diff) |
copying local files may cause some issues, as noticed by sturm@
Try really hard to avoid copying a file on itself: by first checking the
stat() results, and if they are not available (since some people use fucked-up
stuff like AFS), rely on the file names as a last resort.
This should avoid stuff getting copied from PKG_CACHE to PKG_CACHE and
erasing itself in a few cases...
Diffstat (limited to 'kerberosV')
0 files changed, 0 insertions, 0 deletions