[uClibc] fstat and fstat64
vapier at gentoo.org
Fri Jun 3 00:32:53 UTC 2005
On Thursday 02 June 2005 11:42 am, John Bowler wrote:
> The fields st_dev, st_rdev and st_blocks come out zero because the (Linux
> 2.6) kernel puts the actual values into the trailing bytes, not the leading
> ones. (In fact I think little endian ARM has a problem with st_blocks too,
> but I haven't tested that).
wow that is ugly
> Nevertheless there is a problem in the existing armbe stuff. I've attached
> a patch (tar.gz of a single quilt/patch diff -u).
just attach the patch in the future please :p
it looks like the current stat.h is based on linux-2.4's stat64 definition ...
2.6 has a much different (and better) stat.h, so how does the attached patch
look ? (i havent tried compiling with it)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2459 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050602/f16d212c/attachment.bin
More information about the uClibc