Re: Patch for process title on FreeBSD
Kris Moore <kris(a)pcbsd.com> writes:
--- dlls/kernel32/process.c.orig 2007-12-12 12:34:45.000000000 -0500 +++ dlls/kernel32/process.c 2007-12-12 12:35:17.000000000 -0500 @@ -853,6 +853,11 @@ */ static void set_process_name( int argc, char *argv[] ) { + +#if defined(__FreeBSD__) + setproctitle("-%s", argv[1]); +#endif
You should add a configure check for this function, instead of checking for __FreeBSD__. -- Alexandre Julliard julliard(a)winehq.org
How exactly would you like that done? I'm not much of a C programmer, I live more in the C++ / Shell world :) -- Kris Moore PC-BSD Software http://www.pcbsd.com Alexandre Julliard wrote:
Kris Moore <kris(a)pcbsd.com> writes:
--- dlls/kernel32/process.c.orig 2007-12-12 12:34:45.000000000 -0500 +++ dlls/kernel32/process.c 2007-12-12 12:35:17.000000000 -0500 @@ -853,6 +853,11 @@ */ static void set_process_name( int argc, char *argv[] ) { + +#if defined(__FreeBSD__) + setproctitle("-%s", argv[1]); +#endif
You should add a configure check for this function, instead of checking for __FreeBSD__.
participants (3)
-
Alexandre Julliard -
Kris Moore -
Maarten Lankhorst