Skip to content

glocalfileinfo: Fix use of fstatat() on macOS < 10.10

Philip Withnall requested to merge pwithnall/glib:2203-fstatat-macos into master

g_local_file_fstatat() needs to fall back to returning an error if fstatat() isn’t defined, which is the case on older versions of macOS (as well as Windows, which was already handled). Callers shouldn’t call g_local_file_fstatat() in these cases. (That’s already the case.)

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #2203 (closed)

Merge request reports