[uClibc] fstat and fstat64

John Bowler jbowler at acm.org
Tue Jun 28 06:05:37 UTC 2005

Ok, so as not to lose this, it's http://busybox.net/bugs/view.php?id=314


struct stat64 {
	unsigned short st_dev;


struct stat64 {
	unsigned long long st_dev;

Both taken from the www.kernel.org source, no changes.  No conditional
compilation in either case (for this structure member).  Therefore the two
relevant (low order) bytes of st_dev are at offset_ofs of:

armel 2.4  0
armeb 2.4  0
armel 2.6  0
armeb 2.6  6

Therefore there is an ABI change 2.4->2.6 ARMEB only.  After the previous
discussion I fixed it by patching xstatconv.c, the patch is attached to the

John Bowler <jbowler at acm.org>

More information about the uClibc mailing list