CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/08/22 23:36:20
Modified files:
usr.sbin/pkg_add/OpenBSD: Ustar.pm
Log message:
When extracting the pkg tar file, don't preserve the atime, just set it
to the current time. Works around a rare race condition that can happen
if daily(8) zaps old files from /var/tmp while pkg_add(8) is installing
or updating a package and doesn't yet have moved nor even read some of
the files in /var/tmp/pkginfo.* (typically +DESCR).
Espie wasn't totally happy with this at first, and will eventually work
on something better, so I'm omitting documentations bits for now.
ok espie@