[Bug 4435] listing of files in long format shows incorrect sizes

bugzilla at busybox.net bugzilla at busybox.net
Fri Nov 4 22:38:59 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4435

--- Comment #8 from parvata <parvata at rocketmail.com> 2011-11-04 22:38:59 UTC ---
Created attachment 3734
  --> https://bugs.busybox.net/attachment.cgi?id=3734
Attached is the output from the debug statements that was asked to run

What I meant about the fix was I have changed the line,
column += printf("%9"OFF_FMT"u ", dn->dn_size);
to 
column += printf("%9"OFF_FMT"u ", (unsigned long long) dn->dn_size);

and I have got the "ls -l" to display the correct sizes. However attached is
the output from the three lines that you asked me to add and test. Note that I
have not put in our fix that I mentioned above with this test output. It is
unchanged busybox code with your debug code. Thanks.

-- 
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