search for: max_proctitle

Displaying 1 result from an estimated 1 matches for "max_proctitle".

2000 Nov 05
1
suggested bsd-setproctitle.c
...;. I wanted to check with you before committing it incase you had some other plans in mind (and I know how I hate when others break my code =). Thanks, - Ben --- ../openssh/bsd-setproctitle.c Wed Oct 18 08:11:44 2000 +++ bsd-setproctitle.c Sun Nov 5 16:59:07 2000 @@ -56,11 +56,13 @@ #define MAX_PROCTITLE 2048 -#ifdef HAVE___PROGNAME -extern char *__progname; -#else -static const char *__progname = "sshd"; -#endif /* HAVE___PROGNAME */ +#if SPT_TYPE != SPT_NONE +# ifdef HAVE___PROGNAME + extern char *__progname; +# else + static const char *__progname = "sshd"; +# endif /*...