This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In new BSDs changes to argv[] do not show up in ps(1) output,
authorPaul Saab <ps@yahoo-inc.com>
Tue, 1 Aug 2000 15:41:39 +0000 (08:41 -0700)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 2 Aug 2000 01:27:44 +0000 (01:27 +0000)
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

U/perl/i_libutil.U [new file with mode: 0644]

diff --git a/U/perl/i_libutil.U b/U/perl/i_libutil.U
new file mode 100644 (file)
index 0000000..a2bd395
--- /dev/null
@@ -0,0 +1,24 @@
+?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
+