[uClibc] fstat and fstat64
Mike Frysinger
vapier at gentoo.org
Fri Jun 3 12:52:55 UTC 2005
On Friday 03 June 2005 02:47 am, John Bowler wrote:
> Take a look at that st_dev field. 2.4 had:
>
> #if defined(__ARMEB__)
> unsigned char __pad0b[6];
> unsigned short st_dev;
> #else
> unsigned short st_dev;
> unsigned char __pad0b[6];
> #endif
> unsigned char __pad0[4];
>
> 2.6 has no #if:
>
> unsigned long long st_dev;
> unsigned char __pad0[4];
you must be looking at the wrong set of headers ... stat64 does not have any
sort of armeb around st_dev in linux-2.4.27 or linux-2.6.11 ... stat does,
but the ifdef is in linux-2.6, not linux-2.4
-mike
More information about the uClibc
mailing list