diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-01-30 09:47:47 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-01-30 09:47:47 -0800 |
commit | 631581072026701ffd4f3490a68d1e752adaf94f (patch) | |
tree | 53896b9abf9656d3dbf071c5dfc70f82650f1d98 /sysdeps | |
parent | 96bc5b45a671de1e266b841edba2516afc46d84a (diff) | |
parent | 3601428fb029e1c6e98d409dad64d709972cdf57 (diff) | |
download | glibc-631581072026701ffd4f3490a68d1e752adaf94f.tar.gz glibc-631581072026701ffd4f3490a68d1e752adaf94f.tar.xz glibc-631581072026701ffd4f3490a68d1e752adaf94f.zip |
Merge remote-tracking branch 'origin/cmetcalf/tile_faccessat'
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/faccessat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c index c154deb40f..bff7a4b6fd 100644 --- a/sysdeps/unix/sysv/linux/faccessat.c +++ b/sysdeps/unix/sysv/linux/faccessat.c @@ -1,5 +1,5 @@ /* Test for access to file, relative to open directory. Linux version. - Copyright (C) 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2009, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -114,7 +114,7 @@ faccessat (fd, file, mode, flag) #endif struct stat64 stats; - if (fstatat64 (fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW)) + if (__fxstatat64 (_STAT_VER, fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW)) return -1; mode &= (X_OK | W_OK | R_OK); /* Clear any bogus bits. */ |