diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2006-03-28 18:50:00 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2006-03-28 18:50:00 +0000 |
commit | 21632774c37bb8874de17fa6ad931c73d19518cd (patch) | |
tree | cd08ee24e9b82c03c8e191fa74034609795df40f /gnu/usr.bin/perl/vmesa | |
parent | f5f84f19259933187f80faf71c3c9c482a4867e6 (diff) |
perl 5.8.8 import
Diffstat (limited to 'gnu/usr.bin/perl/vmesa')
-rw-r--r-- | gnu/usr.bin/perl/vmesa/vmesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/vmesa/vmesa.c b/gnu/usr.bin/perl/vmesa/vmesa.c index 8bc733b5b74..7e3635f357c 100644 --- a/gnu/usr.bin/perl/vmesa/vmesa.c +++ b/gnu/usr.bin/perl/vmesa/vmesa.c @@ -121,7 +121,7 @@ do_aspawn(SV* really, SV **mark, SV **sp) status = FAIL; if (sp > mark) { - New(401,PL_Argv, sp - mark + 1, char*); + Newx(PL_Argv, sp - mark + 1, char*); a = PL_Argv; while (++mark <= sp) { @@ -260,7 +260,7 @@ do_spawn(char *cmd, int execf) } } - New(402,PL_Argv, (s - cmd) / 2 + 2, char*); + Newx(PL_Argv, (s - cmd) / 2 + 2, char*); PL_Cmd = savepvn(cmd, s-cmd); a = PL_Argv; for (s = PL_Cmd; *s;) |