summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authorkili <kili@openbsd.org>2010-08-23 05:36:20 +0000
committerkili <kili@openbsd.org>2010-08-23 05:36:20 +0000
commit79b74db38b18665f47005d411d0989ac98264b68 (patch)
tree4b3ffcd07c1d450bdf5f12386f81481660aab932 /lib/libc/stdlib/getenv.c
parentfix two problems identified by matthew@: (diff)
downloadwireguard-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/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions