On Thursday 26 April 2012 10:16:53 Mark Salter wrote:
> --- a/libc/sysdeps/linux/common/getdents.c
> +++ b/libc/sysdeps/linux/common/getdents.c
>
> ssize_t __getdents (int fd, char *buf, size_t nbytes) attribute_hidden;
>
> +#ifdef __NR_getdents
> #define __NR___syscall_getdents __NR_getdents
> static __always_inline _syscall3(int, __syscall_getdents, int, fd,
> unsigned char *, kdirp, size_t, count)
> +#endif
>
> -#if defined __ASSUME_GETDENTS32_D_TYPE
> +#if defined __NR_getdents && defined __ASSUME_GETDENTS32_D_TYPE
>
> ssize_t __getdents (int fd, char *buf, size_t nbytes)
> {if __NR_getdents isn't defined, then we shouldn't define __ASSUME_GETDENTS32_D_TYPE -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
