mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #12415] shared and downloading files are rw-locked


From: spiralvoice
Subject: [Mldonkey-bugs] [bug #12415] shared and downloading files are rw-locked under windows
Date: Sun, 22 May 2005 22:56:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050519 Firefox/1.0.4

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]