Skip to content
Commit e7c14e54 authored by Florian Weimer's avatar Florian Weimer
Browse files

support: Use macros for *stat wrappers



Macros will automatically use the correct types, without
having to fiddle with internal glibc macros.  It's also
impossible to get the types wrong due to aliasing because
support_check_stat_fd and support_check_stat_path do not
depend on the struct stat* types.

The changes reveal some inconsistencies in tests.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent bf292748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment