[uClibc] fstat and fstat64

Mike Frysinger vapier at gentoo.org
Fri Jun 3 02:02:10 UTC 2005


On Thursday 02 June 2005 09:37 pm, Erik Andersen wrote:
> On Thu Jun 02, 2005 at 08:32:53PM -0400, Mike Frysinger wrote:
> > +#define LINUX_2_4 LINUX_VERSION_CODE <  KERNEL_VERSION(2,6,0)
>
> Sigh.  I'd really like to avoid any use of LINUX_VERSION_CODE.
> Depending on kernel headers like this is evil.

i dislike it too so i'm open to a better solution :)

> Regardless, I find it a bit hard to believe that armeb always
> uses the Linux 2.4 code as this patch seems to suggest...

i thought it a bit odd myself, but i didnt think the headers were lying

you can see yourself:
http://dev.gentoo.org/~vapier/arm-2.6-stat.h (from 2.6.12-rc#)
http://dev.gentoo.org/~vapier/arm-2.4-stat.h (from 2.4.21)
-mike



More information about the uClibc mailing list