Patch for process title on FreeBSD

Stefan Dösinger stefan at codeweavers.com
Wed Dec 12 15:47:26 CST 2007


Am Mittwoch, 12. Dezember 2007 18:50:39 schrieb Kris Moore:
> Hey all!
>
> One of our devs noticed that on FreeBSD we don't get the process name
> set properly, so in "ps" we get a lot of wine-pthread garbage. Here's a
> small patch to fix this in dlls/kernel32/process.c
>
> I tried to make this as small & simple as possible, please let me know
> what you think!
I think using argv[1] is not the best way, as some wine parameter might be 
added in the future, or someone might use something like binfmt_misc on Linux 
to launch the app. In that case the .exe name is propably argv[0], but I am 
not sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20071212/6c3374ef/attachment.pgp 


More information about the wine-devel mailing list