summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-05-17 20:07:21 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-05-17 20:07:21 +0000
commit72699b0f2772b6d9c4affdf9e0a3a501db463332 (patch)
treec34dbc6736ad692409055cbd544c719b73e7c21b /pp_ctl.c
parentfa07f620619b7e6ff96ee2044fadd2ca7cc948ff (diff)
downloadperl-72699b0f2772b6d9c4affdf9e0a3a501db463332.tar.gz
More regression tests for caller() and fix one bug of #16658.
p4raw-id: //depot/perl@16662
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 8432a15871..2fb4b17bcd 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1460,7 +1460,7 @@ PP(pp_caller)
}
else {
PUSHs(sv_2mortal(newSVpvn("(unknown)",9)));
- PUSHs(sv_2mortal(newSViv(0)));
+ PUSHs(sv_2mortal(newSViv((I32)cx->blk_sub.hasargs)));
}
}
else {