mldonkey-bugs
[Top][All Lists]
Advanced

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

[Mldonkey-bugs] [bugs #1459] Files in incoming are re-created after they


From: spiralvoice
Subject: [Mldonkey-bugs] [bugs #1459] Files in incoming are re-created after they've been removed
Date: Tue, 02 Dec 2003 13:16:29 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.5) Gecko/20031007

This mail is an automated notification from the bugs tracker
 of the project: mldonkey, a free e-Donkey client.

/**************************************************************************/
[bugs #1459] Latest Modifications:

Changes by: 
                spiralvoice <address@hidden>
'Date: 
                Tue 12/02/2003 at 19:16 (Europe/Berlin)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This patch report is very old. If the bug still exists in current

versions please post a new bug report - spiralvoice






/**************************************************************************/
[bugs #1459] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=1459>
Project: mldonkey, a free e-Donkey client
Submitted by: 0
On: Sat 10/19/2002 at 17:43

Category:  Core
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Closed
Release:  2.00
Release:  
Platform Version:  Linux i386-i686
Binaries Origin:  None


Summary:  Files in incoming are re-created after they've been removed

Original Submission:  (I downloaded the sources and built them myself)

I'm using a small script as "file_completed_cmd" that basically does the 
following:

mv incoming/* finished/
wget http://localhost:4080/submit?q=reshare
wget http://localhost:4080/submit?q=close_fds

It seems that sometimes a file I moved from incoming/ to finished/ is 
re-created. This is a problem, of course, because the after the next completed 
download the newly created (empty) file is moved to finished/, overwriting the 
original version.

I'm speculating that the reason for this could be that between the "mv" and the 
"reshare" someone requests the file, which is then opened with the wrong flags 
(O_CREATE | O_RDWR instead of O_RDONLY in C-speak). Unfortunately I don't known 
ocaml, so I can't really look into the problem.

Bye,
        Peter


Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 12/02/2003 at 19:16       By: spiralvoice
This patch report is very old. If the bug still exists in current

versions please post a new bug report - spiralvoice












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=1459>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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