CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/12/11 08:43:19
Modified files:
usr.sbin/pkg_add/OpenBSD: PackageRepository.pm
Log message:
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...