[PATCH v2 28/46] statfs: Use statfs64 if arch does not have the statfs syscall

Mark Salter msalter at redhat.com
Tue Nov 27 15:08:36 UTC 2012


On Tue, 2012-11-27 at 14:53 +0000, Markos Chandras wrote:
> > Now a crazy idea - for the arches under consideration (i.e no
> backward
> > compatibility baggage) can we simply typedef statfs/stat structures
> to
> > statfs64 and stat64 respectively. This is extending Rich's
> suggestion.
> 
> That could work too. I can't think why this would break anything but I
> will know
> more once I try that locally.
> 

This should be for 32-bit systems only. There are no stat64/statfs64
structs in 64-bit kernels. (well, except for some 32-bit compatibility
syscalls).

--Mark




More information about the uClibc mailing list