diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-30 22:34:33 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-30 22:34:33 -0500 |
commit | 0eb6f47528cc10645cb0a6919b3af53166ca4fe8 (patch) | |
tree | db61d4a90096b60be41fb33d6d87e79d1d9c3b04 /sysdeps/unix/sysv/linux/faccessat.c | |
parent | 27a25b6e633a3ea071e229337eaae36d0fa243fa (diff) | |
parent | c8a89e7dd5cab24242cc9050387bd5bb902da11a (diff) | |
download | glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.tar glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.tar.gz glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.tar.bz2 glibc-0eb6f47528cc10645cb0a6919b3af53166ca4fe8.zip |
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
Diffstat (limited to 'sysdeps/unix/sysv/linux/faccessat.c')
-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. */ |