[PATCH] stat: Use stat64 syscall if available

Mike Frysinger vapier at gentoo.org
Fri Feb 3 15:10:30 UTC 2012

On Friday 03 February 2012 08:46:10 Filippo ARCIDIACONO wrote:
> I Khem,

please don't top post

> This is similar what I do for fstat for similar problem.
> Just a note, the call to stat64 should be also guarded by

no.  LFS controls the API that uClibc exports to people that build against it.  
internally, we're free to use any syscall that's available.

we do the same thing with getdents because the 64bit version not only extends 
some types, but it includes some fields that the 32bit doesn't.  this is pretty 
much the same reason Khem needs to use stat64 here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120203/b38ff832/attachment.asc>

More information about the uClibc mailing list