svn commit: trunk/uClibc/libc/sysdeps/linux/common

Peter S. Mazinger ps.m at gmx.net
Sun Jan 8 21:22:52 UTC 2006


On Sun, 8 Jan 2006 vapier at uclibc.org wrote:

> Author: vapier
> Date: 2006-01-08 03:05:06 -0800 (Sun, 08 Jan 2006)
> New Revision: 13159
> 
> Log:
> add missing hidden alias for 64bit hosts
> 
> Modified:
>    trunk/uClibc/libc/sysdeps/linux/common/lstat.c
> 
> 
> Changeset:
> Modified: trunk/uClibc/libc/sysdeps/linux/common/lstat.c
> ===================================================================
> --- trunk/uClibc/libc/sysdeps/linux/common/lstat.c	2006-01-08 11:03:47 UTC (rev 13158)
> +++ trunk/uClibc/libc/sysdeps/linux/common/lstat.c	2006-01-08 11:05:06 UTC (rev 13159)
> @@ -7,6 +7,10 @@
>   * GNU Library General Public License (LGPL) version 2 or later.
>   */
>  
> +/* need to hide the 64bit prototype or the weak_alias()
> + * will fail when __NR_lstat64 doesnt exist */
> +#define __lstat64 __hide__lstat64
> +
>  #include "syscalls.h"
>  #include <unistd.h>
>  #define _SYS_STAT_H
> @@ -14,6 +18,8 @@
>  #include <bits/kernel_stat.h>
>  #include "xstatconv.h"
>  
> +#undef __lstat64
> +

trouble is beginning with x64() ... (__REDIRECT?)

anything I have done to x64() and their x() pairs will have to be reverted ...

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list