64-bit stat (or not) in 32-bit Fedora binaries
Richard W.M. Jones
rjones at redhat.com
Tue Feb 19 13:31:05 UTC 2013
On Tue, Feb 19, 2013 at 12:33:07PM +0000, Petr Pisar wrote:
> EOVERFLOW
> (stat()) path refers to a file whose size cannot be represented
> in the type off_t. This can occur when an application compiled
> on a 32-bit platform without -D_FILE_OFFSET_BITS=64 calls stat()
> on a file whose size exceeds (1<<31)-1 bits.
>
> EOVERFLOW
> A value to be stored would overflow one of the members of the
> stat structure.
OK -- I must have an older version because the second paragraph
is completely missing here. But good to know that this at least
has been fixed.
Does your man page still include an example that casts st_ino to a
long?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
More information about the devel
mailing list