Patch for process title on FreeBSD

Kris Moore kris at pcbsd.com
Tue Dec 18 14:05:57 CST 2007



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 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__.
> 



More information about the wine-devel mailing list