This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b61404
)
Integrate #16334 from maint-5.6;
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 2 May 2002 12:41:18 +0000
(12:41 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 2 May 2002 12:41:18 +0000
(12:41 +0000)
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..)
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
f4843db
..
9249df2
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-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;
}