diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-02 12:41:18 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-02 12:41:18 +0000 |
commit | f1c3b2ef98f177b85072541f176c2fe20e073dad (patch) | |
tree | 281d5d06b7aaf6c53f4de764efbfc814e2d58e45 /mg.c | |
parent | 8b61404e64d1baf6dd1dafd3237bf1a349229e70 (diff) | |
download | perl-f1c3b2ef98f177b85072541f176c2fe20e073dad.tar.gz |
Integrate #16334 from maint-5.6;
don't pad $0 with spaces when setting it, use nulls instead (the
spaces show up as a very long line in a ps listing)
p4raw-id: //depot/perl@16339
p4raw-integrated: from //depot/maint-5.6/perl@16338 'merge in' mg.c
(@16332..)
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2267,8 +2267,7 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg) s = PL_origargv[0]+i; *s++ = '\0'; while (++i < (I32)PL_origalen) - *s++ = ' '; - s = PL_origargv[0]+i; + *s++ = '\0'; for (i = 1; i < PL_origargc; i++) PL_origargv[i] = Nullch; } |