On Sat, 20 Mar 2010 at 20:28:36 +0100, Tamas TEVESZ wrote:
>
> Subject: [PATCH] Add the BSD version of GetCommandForPid()
>
> It is not connected to wmaker, but when someone adds platform
> detection to the autohell stuff, this can easily be integrated.
I hope there is some brave BSD person with enough courage to go to
hell, do the autoconf stuff there and come back to tell the story
and show us the patch...
> src/osdep/bsd.c | 91
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
...otherwise this file will be unused :-(
But I see your point, in showing what should be done. Perhaps add a line
to TODO?
> --- /dev/null
> +++ b/src/osdep/test.c
[...]
> +
> + if (GetCommandForPid(getpid(), &nargv, &nargc) == False) {
> + printf("GetCommandForPid() failed\n");
Did you see this failing in some BSD with the current (linux) GetCommandForPid()
and not failing when using the new osdep/bsd.c file?
Is there someone else out there who can test this?
--
To unsubscribe, send mail to [email protected].