setproctitle

Shinichi Maruyama marya at st.jip.co.jp
Fri Nov 17 14:33:15 EST 2000


	I use openssh-2.3.0p1 in FreeBSD 4.X。
	In config.h, HAVE_SETPROCTITLE is defined, but ignored in
bsd-setproctitle.c.
	Patch attached.

-- 
					marya at st.jip.co.jp
-------------- next part --------------
--- bsd-setproctitle.c.orig	Wed Oct 18 22:11:44 2000
+++ bsd-setproctitle.c	Thu Nov 16 23:53:20 2000
@@ -38,9 +38,9 @@
 static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.7 1999/02/25 22:10:12 art Exp $";
 #endif /* LIBC_SCCS and not lint */
 
-#ifndef HAVE_SETPROCTITLE
-
 #include "includes.h"
+
+#ifndef HAVE_SETPROCTITLE
 
 #define SPT_NONE	0
 #define SPT_PSTAT	1


More information about the openssh-unix-dev mailing list