diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-06-28 04:23:43 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-08-30 10:10:40 +0200 |
commit | be1ffedaf6fc44aeb9da235d64889dac71e9bf24 (patch) | |
tree | 3914802c4d07afb05fafe2c2b6971c9f8c13899e /lib/libalpm/db.c | |
parent | c981f5ad76cb77363dcb4ebcc199670c3378995f (diff) | |
download | pacman-be1ffedaf6fc44aeb9da235d64889dac71e9bf24.tar.gz pacman-be1ffedaf6fc44aeb9da235d64889dac71e9bf24.tar.xz |
hook.c: replace fstatat with stat
macOS < 10.10 do not provide fstatat. We were constructing the full
path to the hook file for all other operations anyway, so there was no
real benefit to using fstatat.
Fixes FS#49771
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions