patchmldonkey, a multi-networks file-sharing client - Patches: patch #4480, fix PID under Windows

 
 

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

patch #4480: fix PID under Windows

Submitter:  Schlumpf <schlumpf_>
Submitted:  Fri 30 Sep 2005 11:45:49 AM UTC
   
 
Category:  Bug fixes Priority:  5 - Normal
Status:  Wont Do Assigned to:  None
Open/Closed:  Closed

Mon 10 Oct 2005 04:43:13 PM UTC, comment #3: 
spiralvoice <spiralvoice>
Group administrator
Mon 10 Oct 2005 11:05:19 AM UTC, comment #2: 

Patch for Ocaml confirmed working, no need to patch MLDonkey.
I will later update MinGW build Wiki on mldonkey.berlios.de.

spiralvoice <spiralvoice>
Group administrator
Sun 09 Oct 2005 06:10:57 PM UTC, comment #1: 

It seems that Ocaml does not implement getpid() for Windows.

ocaml/otherlibs/win32unix/getpid.c

extern value val_process_id;
CAMLprim value unix_getpid(value unit)
{
  return val_process_id;
}

as opposed to

ocaml/otherlibs/unix/getpid.c
CAMLprim value unix_getpid(value unit)
{
  return Val_int(getpid());
}

So patching Ocaml sourcecode should really solve this problem,
instead of this work-around.

spiralvoice <spiralvoice>
Group administrator
Fri 30 Sep 2005 11:45:49 AM UTC, original submission:  

this Patch depends on patch #4452

Schlumpf <schlumpf_>
Group Member

 

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

Attached Files
file #8131:  win_pid_file.patch added by schlumpf_ (2KiB - 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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-10 spiralvoice StatusWorks For Me Wont Do
    Open/ClosedOpen Closed
2005-10-01 amorphous StatusNone Works For Me
2005-09-30 schlumpf_ Attached File- Added win_pid_file.patch, #5266

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code