Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

--- a/lib/setproctitle.h
+++ b/lib/setproctitle.h
@@ -8,7 +8,9 @@
 
 #include <sys/param.h>
 
-#ifdef __linux__
+#if defined(__GNU__)
+# define SPT_TYPE       SPT_CHANGEARGV
+#elif defined(__linux__)
 # define SPT_TYPE      SPT_REUSEARGV
 # define SPT_PADCHAR   '\0'    /* pad process title with nulls */
 #elif (defined(BSD) && BSD >= 199306)