Follow-up Comment #5, bug #12415 (project mldonkey):
Updated patch because the core raised exception in os_ftruncate,
I found out that this function was called everytime when
shared files were scanned.
Truncate controls the length of a file:
if file_size <> zero then
Unix32.ftruncate64 t file_size;
but should it be used everytime? No:
if file_size <> zero &&
file_size <> (Unix32.getsize file_diskname) then
Unix32.ftruncate64 t file_size;
_______________________________________________________
Additional Item Attachment:
File name: read.patch Size:5 KB
updated patch
<http://savannah.nongnu.org/bugs/download.php?item_id=12415&item_file_id=2532>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12415>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs