diff options
author | 2007-03-18 10:57:12 +0000 | |
---|---|---|
committer | 2007-03-18 10:57:12 +0000 | |
commit | ffe8986a167ff0fa3cf8c1ba280898ab4eaca0ca (patch) | |
tree | 4fcfd5c65e7015c0da6a768768ea6bf308512c7f /usr.bin/diff/diffreg.c | |
parent | Don't restart thrsleep after a signal. After a signal happened and we (diff) | |
download | wireguard-openbsd-ffe8986a167ff0fa3cf8c1ba280898ab4eaca0ca.tar.xz wireguard-openbsd-ffe8986a167ff0fa3cf8c1ba280898ab4eaca0ca.zip |
remove some unnecessary sanity checks. /var/db/pkg is supposed to contain
only packages, so it's not really necessary to check for file existence
and rights. Besides, actual use of package stuff will try reading +CONTENTS
in a guarded way, so it will error out sanely...
Trims out hundreds of stat() under /var/db/pkg, which are largely responsible
for the slow start time of pkg_* tools.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions