svn commit: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux
carmelo at uclibc.org
carmelo at uclibc.org
Wed Jun 18 14:49:28 UTC 2008
Author: carmelo
Date: 2008-06-18 07:49:27 -0700 (Wed, 18 Jun 2008)
New Revision: 22419
Log:
Synch with trunk
Modified:
branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h 2008-06-18 14:38:36 UTC (rev 22418)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h 2008-06-18 14:49:27 UTC (rev 22419)
@@ -411,8 +411,10 @@
#endif
/* Starting with version 2.6.4-rc1 the getdents syscall returns d_type
- information as well. */
-#if __LINUX_KERNEL_VERSION >= 132612
+ information as well and in between 2.6.5 and 2.6.8 most compat wrappers
+ were fixed too. Except s390{,x} which was fixed in 2.6.11. */
+#if (__LINUX_KERNEL_VERSION >= 0x020608 && !defined __s390__) \
+ || (__LINUX_KERNEL_VERSION >= 0x02060b && defined __s390__)
# define __ASSUME_GETDENTS32_D_TYPE 1
#endif
More information about the uClibc-cvs
mailing list