summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-07-10 23:04:26 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-07-10 23:04:26 +0000
commitc3c5fad70e191a22d614f56433b4aaeeb0a035da (patch)
tree2e76d1e5f314c9b71a5eea43e4d6556bbb0dece3 /doio.c
parent46c6c7e2a233df6079f4ba33374086db68feb889 (diff)
downloadperl-c3c5fad70e191a22d614f56433b4aaeeb0a035da.tar.gz
no code before declarations!
p4raw-id: //depot/perl@25110
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/doio.c b/doio.c
index 0ecfe7dcb8..b105845e84 100644
--- a/doio.c
+++ b/doio.c
@@ -1456,9 +1456,10 @@ Perl_do_aexec5(pTHX_ SV *really, register SV **mark, register SV **sp,
Perl_croak(aTHX_ "exec? I'm not *that* kind of operating system");
#else
if (sp > mark) {
- Newx(PL_Argv, sp - mark + 1, char*);
- char **a = PL_Argv;
+ char **a;
const char *tmps = Nullch;
+ Newx(PL_Argv, sp - mark + 1, char*);
+ a = PL_Argv;
while (++mark <= sp) {
if (*mark)