|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Marc Espie (espie
cvs.openbsd.org)
Date: Thu Dec 11 2008 - 09:43:19 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: espie
cvs.openbsd.org 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...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]