patchmldonkey, a multi-networks file-sharing client - Patches: patch #4499, Check for stalled pid file

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4499: Check for stalled pid file

Submitter:  spiralvoice <spiralvoice>
Submitted:  Sun 09 Oct 2005 06:01:17 PM UTC
   
 
Category:  Bug fixes Priority:  5 - Normal
Status:  Done Assigned to:  None
Open/Closed:  Closed

Mon 10 Oct 2005 03:18:31 PM UTC, comment #2: 

Applied 2005/10/10

spiralvoice <spiralvoice>
Group administrator
Mon 10 Oct 2005 11:04:24 AM UTC, comment #1: 

Unix.kill does not work on MinGW:
http://article.gmane.org/gmane.comp.gnu.mingw.user/16279

Is anyone willing to code some C for Ocaml or a wrapper for MLDonkey?
See ocaml/otherlibs/win32unix/unix.ml and ocaml/otherlibs/unix/kill.c for details.

Otherwise the patch would produce something like that:

2005/10/10 12:46:26 PID file .\mlnet.pid exists.

This means another MLDonkey process could still be working
in this directory. Please shut it down before starting
a new instance here. If you are sure no other process uses
this directory delete mlnet.pid and restart the core.

2005/10/10 12:46:26 can not check for stalled pid file because Unix.kill is not implemented on MinGW
2005/10/10 12:46:26 Exception Invalid_argument("Unix.kill not implemented"), exiting...

spiralvoice <spiralvoice>
Group administrator
Sun 09 Oct 2005 06:01:17 PM UTC, original submission:  

This patch is based on Pangos work:
https://savannah.nongnu.org/patch/?func=detailitem&item_id=4449#comment6
with some modifications, config_files_space.tmp is still checked
and a stalled pid file is removed.

spiralvoice <spiralvoice>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8011:  4499.patch added by spiralvoice (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-10 spiralvoice StatusNone Done
    Open/ClosedOpen Closed
2005-10-10 spiralvoice Attached File- Added 4499.patch, #5304
2005-10-10 spiralvoice Attached File#5300 Removed
2005-10-09 spiralvoice Attached File- Added 4449_2.patch, #5300

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code