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.