Patch for process title on FreeBSD

Alexandre Julliard julliard at winehq.org
Thu Dec 13 04:53:29 CST 2007


Kris Moore <kris at 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 at winehq.org



More information about the wine-devel mailing list