"show directory sizes" gives wrong values - PATCH

bulia byak bulia at dr.com
Tue Jan 14 13:24:49 UTC 2003


Indeed there was an error in sort_size function: it is declared as int, but it returns a value of the type off_t which may be double. This results in a casting error and wrong sorting for very big files. The patch is attached.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-fixsizesort
Type: application/octet-stream
Size: 403 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20030114/96ecdd5c/attachment.obj>


More information about the mc mailing list