SPUG: assigning to $0; different Linuces
Ben Reser
ben at reser.org
Fri Aug 29 11:17:03 CDT 2003
On Thu, Aug 28, 2003 at 06:03:20PM -0700, Jeremy G Kahn wrote:
> But when I run the same thing on redhat 7.3 (kernel 2.4, perl version
> 5.8.0 for i686-linux) I get these results:
[snip]
> Notice that the name of process 14104 does *not* change.
>
> This is really irritating, since the assign-to-$0 is a nice feature,
> when you're doing lots of fork-ing and exec-ing. Does anybody know how
> one would check that a system can do this from within a script? Or a
> configuration variable in Linux that somebody might be able to tune?
After some testing I can replicate this on 5.8.0 on Mandrake 9.1/ppc.
My version of 5.8.1 RC4 on another machine Mandrake 9.2(cooker) works
fine. So it looks like it is a perl bug in 5.8.0 that has been fixed in
5.8.1.
--
Ben Reser <ben at reser.org>
http://ben.reser.org
"What upsets me is not that you lied to me, but that from now on I can
no longer believe you." -- Nietzsche
More information about the spug-list
mailing list