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

[commits] r8414 - in /fsf/trunk/libc: ChangeLog io/sys/stat.h



Author: eglibc
Date: Fri May  8 00:06:38 2009
New Revision: 8414

Log:
Import glibc-mainline for 2009-05-08

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/io/sys/stat.h

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri May  8 00:06:38 2009
@@ -1,3 +1,8 @@
+2009-05-05  Jakub Jelinek  <jakub@xxxxxxxxxx>
+
+	* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,
+	guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
+		
 2009-04-29  Jakub Jelinek  <jakub@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12

Modified: fsf/trunk/libc/io/sys/stat.h
==============================================================================
--- fsf/trunk/libc/io/sys/stat.h (original)
+++ fsf/trunk/libc/io/sys/stat.h Fri May  8 00:06:38 2009
@@ -249,9 +249,11 @@
 #  endif
 # endif
 
+# ifdef __USE_LARGEFILE64
 extern int fstatat64 (int __fd, __const char *__restrict __file,
 		      struct stat64 *__restrict __buf, int __flag)
      __THROW __nonnull ((2, 3));
+# endif
 #endif
 
 #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
@@ -516,7 +518,7 @@
   return __fxstat64 (_STAT_VER, __fd, __statbuf);
 }
 
-#  ifdef __USE_GNU
+#  ifdef __USE_ATFILE
 __extern_inline int
 __NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
 		  int __flag))