This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Fix build fail on sparc64 for glibc-2.3.2-200306120810
> 2003-06-16 Jakub Jelinek <jakub@redhat.com>
>
> * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
> defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
> (__xstat64_conv): Change xstat_conv to __xstat_conv.
>
> --- libc/sysdeps/unix/sysv/linux/xstatconv.c.jj 2003-06-16
> 05:40:17.000000000 -0400 +++
> libc/sysdeps/unix/sysv/linux/xstatconv.c 2003-06-16 05:47:13.000000000
> -0400 @@ -31,7 +31,7 @@ struct kernel_stat;
> #include <string.h>
>
>
> -#ifndef __ASSUME_STAT64_SYSCALL
> +#if !defined __ASSUME_STAT64_SYSCALL || defined XSTAT_IS_XSTAT64
> int
> __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
> {
> @@ -108,7 +108,7 @@ int
> __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
> {
> #ifdef XSTAT_IS_XSTAT64
> - return xstat_conv (vers, kbuf, ubuf);
> + return __xstat_conv (vers, kbuf, ubuf);
> #else
> switch (vers)
> {
>
Tested, works great :)
>
> Jakub
Thank you Jakub !
Cristian,