bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

findutils 64-bit st_size or st_blocks restriction


From: Paul Gilmartin
Subject: findutils 64-bit st_size or st_blocks restriction
Date: Sun, 16 Feb 2003 09:21:28 -0700 (MST)

Hello, bug-gnu-utils,

I'm attempting to build findutils for OS X and various other platforms.  I've
run into a problem because on OS X the st_size and st_blocks fields of the
stat structure are 64-bit quantities, which "find -ls" prints as zeroes.
I've circumvented by an (unsigned long) cast at references to either of these
two fields.  But as ever more systems escape the 2-gibibyte limit on file
sizes, this restriction will become ever more onerous.  Is there a semi-official
patch that circumvents it?

Thanks,
gil
-- 
StorageTek
INFORMATION made POWERFUL




reply via email to

[Prev in Thread] Current Thread [Next in Thread]