[pacman-dev] [PATCH] 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
On 28/06/16 12:23, Andrew Gregory wrote:
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
Thanks. Will backport this to the 5.0.x branch if I get time to think about another release from there. A
participants (2)
-
Allan McRae
-
Andrew Gregory