diff options
author | 2010-08-23 05:36:20 +0000 | |
---|---|---|
committer | 2010-08-23 05:36:20 +0000 | |
commit | 79b74db38b18665f47005d411d0989ac98264b68 (patch) | |
tree | 4b3ffcd07c1d450bdf5f12386f81481660aab932 /lib/libc | |
parent | fix two problems identified by matthew@: (diff) | |
download | wireguard-openbsd-79b74db38b18665f47005d411d0989ac98264b68.tar.xz wireguard-openbsd-79b74db38b18665f47005d411d0989ac98264b68.zip |
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@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions