mirror of git://sourceware.org/git/glibc.git
* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
This commit is contained in:
parent
115a532734
commit
1765abb309
|
@ -1,3 +1,8 @@
|
||||||
|
2009-05-05 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* 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@redhat.com>
|
2009-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12
|
* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12
|
||||||
|
|
|
@ -249,10 +249,12 @@ extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__restrict __file,
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
# ifdef __USE_LARGEFILE64
|
||||||
extern int fstatat64 (int __fd, __const char *__restrict __file,
|
extern int fstatat64 (int __fd, __const char *__restrict __file,
|
||||||
struct stat64 *__restrict __buf, int __flag)
|
struct stat64 *__restrict __buf, int __flag)
|
||||||
__THROW __nonnull ((2, 3));
|
__THROW __nonnull ((2, 3));
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
|
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
|
||||||
# ifndef __USE_FILE_OFFSET64
|
# ifndef __USE_FILE_OFFSET64
|
||||||
|
@ -516,7 +518,7 @@ __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
|
||||||
return __fxstat64 (_STAT_VER, __fd, __statbuf);
|
return __fxstat64 (_STAT_VER, __fd, __statbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
# ifdef __USE_GNU
|
# ifdef __USE_ATFILE
|
||||||
__extern_inline int
|
__extern_inline int
|
||||||
__NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
|
__NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
|
||||||
int __flag))
|
int __flag))
|
||||||
|
|
|
@ -29,6 +29,8 @@ enum
|
||||||
{
|
{
|
||||||
ADDR_NO_RANDOMIZE = 0x0040000,
|
ADDR_NO_RANDOMIZE = 0x0040000,
|
||||||
MMAP_PAGE_ZERO = 0x0100000,
|
MMAP_PAGE_ZERO = 0x0100000,
|
||||||
|
ADDR_COMPAT_LAYOUT = 0x0200000,
|
||||||
|
READ_IMPLIES_EXEC = 0x0400000,
|
||||||
ADDR_LIMIT_32BIT = 0x0800000,
|
ADDR_LIMIT_32BIT = 0x0800000,
|
||||||
SHORT_INODE = 0x1000000,
|
SHORT_INODE = 0x1000000,
|
||||||
WHOLE_SECONDS = 0x2000000,
|
WHOLE_SECONDS = 0x2000000,
|
||||||
|
|
Loading…
Reference in New Issue