diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-14 17:41:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-14 17:41:59 +0000 |
commit | 14860991fcb0bc8ccb3bbb62a12df07cd222af4d (patch) | |
tree | e9f53b98c96490d66ae6d037856f5f6a997144db /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 8c2f6130c331614a8b14522c519b31b8d12ca2eb (diff) | |
download | glibc-14860991fcb0bc8ccb3bbb62a12df07cd222af4d.tar glibc-14860991fcb0bc8ccb3bbb62a12df07cd222af4d.tar.gz glibc-14860991fcb0bc8ccb3bbb62a12df07cd222af4d.tar.bz2 glibc-14860991fcb0bc8ccb3bbb62a12df07cd222af4d.zip |
Update.
2000-08-14 Jakub Jelinek <jakub@redhat.com>
* dirent/Versions (getdirentries64): Export at GLIBC_2.2.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_GETDENTS64_SYSCALL): Define.
* sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
syscall if available to get d_type fields.
* sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
* sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
__lxstat64): Export at GLIBC_2.2.
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
Likewise.
* sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
* sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
* sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
getdirentries64, versionsort64): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
getdirentries64, versionsort64): Remove.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index e7699a62f8..2f9d12bb28 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -136,3 +136,9 @@ #if __LINUX_KERNEL_VERSION >= 132097 && (defined __i386__ || defined __sparc__) # define __ASSUME_FCNTL64 1 #endif + +/* The getdents64 syscall was introduced in 2.4.0-test7. We test for + 2.4.1 for the earliest version we know the syscall is available. */ +#if __LINUX_KERNEL_VERSION >= 132097 +# define __ASSUME_GETDENTS64_SYSCALL 1 +#endif |