diff options
author | Matthias Kilian <kili@cvs.openbsd.org> | 2010-08-23 05:36:21 +0000 |
---|---|---|
committer | Matthias Kilian <kili@cvs.openbsd.org> | 2010-08-23 05:36:21 +0000 |
commit | 1b77cf8f74813f3933db369fb02573e3c20754d4 (patch) | |
tree | 9519f1443836f067499c886c12ba7db9d3f5b938 /games/monop/jail.c | |
parent | 03aad00f384fe9547c3be370a3e09493e5f0d864 (diff) |
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 'games/monop/jail.c')
0 files changed, 0 insertions, 0 deletions