[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [Bug #1459] Files in incoming are re-created after they'
From: |
nobody |
Subject: |
[Mldonkey-bugs] [Bug #1459] Files in incoming are re-created after they've been removed |
Date: |
Sat, 19 Oct 2002 11:43:34 -0400 |
=================== BUG #1459: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1459&group_id=1409
Submitted by: None Project: mldonkey, a free e-Donkey
client
Submitted on: 2002-Oct-19 11:43
Category: Core Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
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
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1459&group_id=1409
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-bugs] [Bug #1459] Files in incoming are re-created after they've been removed,
nobody <=