Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 910273 | Differences between
and this patch

Collapse All | Expand All

(-)a/libsbutil/sb_exists.c (-1 / +1 lines)
Lines 11-17 int sb_exists(int dirfd, const char *pathname, int flags) Link Here
11
{
11
{
12
	struct stat64 buf;
12
	struct stat64 buf;
13
13
14
	if (faccessat(dirfd, pathname, F_OK, flags) == 0)
14
	if (faccessat(dirfd, pathname, F_OK, flags|AT_EACCESS) == 0)
15
		return 0;
15
		return 0;
16
16
17
	/* musl's faccessat gives EINVAL when the kernel does not support
17
	/* musl's faccessat gives EINVAL when the kernel does not support

Return to bug 910273