Front page | perl.perl5.porters |
Postings from February 2003
[perl #21279] Assigning to $0 or $PROGRAM_NAME does not work
Thread Next
From:
perlbug-followup
Date:
February 18, 2003 07:57
Subject:
[perl #21279] Assigning to $0 or $PROGRAM_NAME does not work
Message ID:
rt-21279-52354.8.9603641301342@bugs6.perl.org
# New Ticket Created by sebastiaan@kantoor.nederhost.nl
# Please include the string: [perl #21279]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21279 >
This is a bug report for perl from sebastiaan@kantoor.nederhost.nl,
generated with the help of perlbug 1.34 running under perl v5.8.0.
-----------------------------------------------------------------
[Please enter your report here]
Assigning to $0 or $PROGRAM_NAME to change the display of the process in the
ps process list seems not to work in 5.8.0. This has been confirmed on two
configurations using both Linux kernel 2.4.19 and procps 2.0.7
The exact same assignment does work on 5.6.1 with Linux kernel 2.4.18 and
procps 2.0.7.
If this is a known problem with Linux kernels 2.4.19 and above then it might
be a good idea to list this in any known problem section. However, at this
moment it appears to be a bug in perl. At this moment I am unfortunately
unable to confirm this in a Linux kernel of the same version (all systems
are production systems).
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.8.0:
Configured by root at Sat Dec 14 14:27:39 CET 2002.
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.18, archname=i686-linux
uname='linux mr-hat 2.4.18 #4 fri may 31 01:25:31 pdt 2002 i686 unknown '
config_args='-ds -e'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.8.0:
/usr/local/lib/perl5/5.8.0/i686-linux
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.8.0:
HOME=/home/sebastiaan
LANG (unset)
LANGUAGE (unset)
LC_ALL=POSIX
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:.
PERL_BADLANG (unset)
SHELL=/bin/sh
Thread Next
-
[perl #21279] Assigning to $0 or $PROGRAM_NAME does not work
by perlbug-followup