svn commit: trunk/uClibc/libc/misc/glob
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Tue Jan 30 10:17:24 UTC 2007
This "fix" is incorrect. See http://bugs.uclibc.org/view.php?id=1131
for further information. As stated there, the correct fix is
#if defined __UCLIBC_HAS_LFS__ && !defined COMPILE_GLOB64
The reason is that if COMPILE_GLOB64 is defined, then dirent and
a number of other standard names have been redefined to their 64-bit
counterparts, and thus the #else clause should be used. However, if
it has not been defined, then we still want to use 64-bit operations
here if they are available.
//Peter
> -----Original Message-----
> From: uclibc-cvs-bounces at uclibc.org
> [mailto:uclibc-cvs-bounces at uclibc.org] On Behalf Of aldot at uclibc.org
> Sent: Monday, January 29, 2007 23:41
> To: uclibc-cvs at uclibc.org
> Subject: svn commit: trunk/uClibc/libc/misc/glob
>
>
> Author: aldot
> Date: 2007-01-29 14:40:38 -0800 (Mon, 29 Jan 2007)
> New Revision: 17652
>
> Log:
> - fix compilation of GNU glob with !LFS
> Sounds like a typo, really
>
>
> Modified:
> trunk/uClibc/libc/misc/glob/glob.c
>
>
> Changeset:
> Modified: trunk/uClibc/libc/misc/glob/glob.c
> ===================================================================
> --- trunk/uClibc/libc/misc/glob/glob.c 2007-01-29
> 22:22:59 UTC (rev 17651)
> +++ trunk/uClibc/libc/misc/glob/glob.c 2007-01-29
> 22:40:38 UTC (rev 17652)
> @@ -361,7 +361,7 @@
> {
> const char *name;
> size_t len;
> -#if !defined COMPILE_GLOB64
> +#if defined COMPILE_GLOB64
> struct dirent64 *d;
> union
> {
>
> _______________________________________________
> uClibc-cvs mailing list
> uClibc-cvs at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc-cvs
>
More information about the uClibc
mailing list