svn commit: trunk/uClibc/libc/sysdeps/linux/common
vapier at uclibc.org
vapier at uclibc.org
Wed Jul 5 07:12:42 UTC 2006
Author: vapier
Date: 2006-07-05 00:12:37 -0700 (Wed, 05 Jul 2006)
New Revision: 15617
Log:
Atsushi Nemoto writes: Some archs (such as mips64) do not have getdents64 syscall but have getdents syscall. Define alias for it.
Modified:
trunk/uClibc/libc/sysdeps/linux/common/getdents.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/getdents.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2006-07-05 07:04:18 UTC (rev 15616)
+++ trunk/uClibc/libc/sysdeps/linux/common/getdents.c 2006-07-05 07:12:37 UTC (rev 15617)
@@ -101,6 +101,10 @@
return (char *) dp - buf;
}
+#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
+attribute_hidden strong_alias(__getdents,__getdents64)
+#endif
+
#elif __WORDSIZE == 32
libc_hidden_proto(memmove)
More information about the uClibc-cvs
mailing list