diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-29 15:41:05 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-29 15:41:05 +0000 |
commit | 54bfe034ba642318cf2c7d0b37579f30adef144a (patch) | |
tree | 9d4a1a11a7d2ea0e6bab798b52a7d08ff374981a /t | |
parent | 52d59bef96c881381bce1bcb84a8c08ce48c2544 (diff) | |
download | perl-54bfe034ba642318cf2c7d0b37579f30adef144a.tar.gz |
The joy of $0. Undoing the #16399 makes Andreas'
tests (see [perl #22811]) pass (yes, padding with space instead
of nul makes no sense, but that seems to work, maybe Linux does
some deep magic in ps(1)?); moving the PL_origalen computation
earlier makes also the threaded-first case fully pass.
But in general modifying the argv[] is very non-portable.
(e.g. in Tru64 it seems to be limited to the size of the
original argv[0] since the argv[] are not contiguous?)
Everybody should just have setproctitle().
p4raw-id: //depot/perl@19884
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions