[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r19582 - in /fsf/glibc-2_15-branch/libc: ChangeLog sysdeps/unix/sysv/linux/faccessat.c



Author: eglibc
Date: Wed Jul 11 00:03:21 2012
New Revision: 19582

Log:
Import glibc-2.15 for 2012-07-11

Modified:
    fsf/glibc-2_15-branch/libc/ChangeLog
    fsf/glibc-2_15-branch/libc/sysdeps/unix/sysv/linux/faccessat.c

Modified: fsf/glibc-2_15-branch/libc/ChangeLog
==============================================================================
--- fsf/glibc-2_15-branch/libc/ChangeLog (original)
+++ fsf/glibc-2_15-branch/libc/ChangeLog Wed Jul 11 00:03:21 2012
@@ -1,3 +1,7 @@
+2012-01-28  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
+
 2012-01-28  Chris Metcalf  <cmetcalf@xxxxxxxxxx>
 
 	* include/sys/epoll.h: New file.

Modified: fsf/glibc-2_15-branch/libc/sysdeps/unix/sysv/linux/faccessat.c
==============================================================================
--- fsf/glibc-2_15-branch/libc/sysdeps/unix/sysv/linux/faccessat.c (original)
+++ fsf/glibc-2_15-branch/libc/sysdeps/unix/sysv/linux/faccessat.c Wed Jul 11 00:03:21 2012
@@ -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 @@
 #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. */

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits