instead one must use setproctitle(). This was already addressed
by change #6457, but the below has a new variant for FreeBSD 4.0
or later, and the matter is also documented more.
Subject: [ID
20000801.007] setting $0 on FreeBSD 4.x does not get reflected in /bin/ps
Message-Id: <
20000801154139.A53740@yahoo-inc.com>
p4raw-link: @6457 on //depot/metaconfig: XXXXXXXXXXXXXXXX:(342066)XXXXXXXXXXXXXXXon //depot/perl:
6e63da0fd4ad7d61173ac08ece8adf9dafef8250
p4raw-id: //depot/metaconfig@6483
--- /dev/null
+?RCS: $Id: i_libutil.U,v $
+?RCS:
+?RCS: Copyright (c) 2000 Jarkko Hietaniemi
+?RCS:
+?RCS: You may distribute under the terms of either the GNU General Public
+?RCS: License or the Artistic License, as specified in the README file.
+?RCS:
+?MAKE:i_libutil: Inhdr Hasfield
+?MAKE: -pick add $@ %<
+?S:i_libutil:
+?S: This variable conditionally defines the I_LIBUTIL symbol, and indicates
+?S: whether a C program should include <libutil.h>.
+?S:.
+?C:I_LIBUTIL:
+?C: This symbol, if defined, indicates that <libutil.h> exists and
+?C: should be included.
+?C:.
+?H:#$i_libutil I_LIBUTIL /**/
+?H:.
+?LINT:set i_libutil
+: see if this is a libutil.h system
+set libutil.h i_libutil
+eval $inhdr
+