[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-users] [patch #4480] fix PID under Windows
From: |
spiralvoice |
Subject: |
[Mldonkey-users] [patch #4480] fix PID under Windows |
Date: |
Sun, 9 Oct 2005 20:10:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20051007 Firefox/1.0.7 |
Follow-up Comment #1, patch #4480 (project mldonkey):
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.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4480>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/