Kris Moore kris@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__.
How exactly would you like that done? I'm not much of a C programmer, I live more in the C++ / Shell world :)
Hi Kris,
Kris Moore schreef:
How exactly would you like that done? I'm not much of a C programmer, I live more in the C++ / Shell world :)
With autoconf of course (configure.ac).
Cheers, Maarten.