"show directory sizes" gives wrong values

bulia byak bulia at dr.com
Tue Jan 14 13:03:38 UTC 2003


>> mc reports only 2147483 bytes [...]
>if it was kilobytes: 2147483647==2**31-1?

Indeed! I found that the problem was that _FILE_OFFSET_BITS in my config.h was not set. After I set it to 64 the problem disappeared. Apparently mc now uses 64-bit values.

However there is another problem: now that this dir displays 8092M, it jumps at the very end when the panel is sorted by size. So it seems that the sorting function considers this a negative value. I will try to look into this.
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife




More information about the mc mailing list