[Bug 4435] listing of files in long format shows incorrect sizes
bugzilla at busybox.net
bugzilla at busybox.net
Wed Nov 9 16:56:48 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=4435
--- Comment #11 from parvata <parvata at rocketmail.com> 2011-11-09 16:56:47 UTC ---
Just to add more information to this issue android's version of bionic libc's
stat structure uses long long for file size to store the file size. Cyanogen's
android project has added the below change to their integrated version of
libb.h.
#ifdef __BIONIC__
/* bionic uses stat64 which has long long file sizes, whereas off_t is only
long bits */
typedef long long filesize_t;
#define FILESIZE_FMT "ll"
#else
typedef off_t filesize_t;
#define FILESIZE_FMT OFF_FMT
#endif
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list