Follow-up Comment #16, bug #12415 (project mldonkey):
I added a patch "getsize.patch" here which closes the file
after getting its size *if* it is not writable.
I have not tested it throughly but closing the shared file
works on Linux, but I did not test it yet in real life.
On Linux you can watch the open files with this command from
the core dir if you have the mlnet.pid patch which is already
part of current CVS.
ls -al /proc/`cat mlnet.pid`/fd
_______________________________________________________
Additional Item Attachment:
File name: getsize.patch Size:0 KB
<http://savannah.nongnu.org/bugs/download.php?item_id=12415&item_file_id=2543>
_______________________________________________________
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