summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-07 08:07:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-07 08:07:58 +0000
commit1b18133a105fbc5f80d40c868e5dcd6642b2283a (patch)
treed099e5888df0f35505f032e1fd83689b932df6c0 /pp.c
parent61123c315f37e918851a84240eafd9ae275821d7 (diff)
parentc4be5b273ea01a42f8bea870c9703dc3eaa652b6 (diff)
downloadperl-1b18133a105fbc5f80d40c868e5dcd6642b2283a.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@3638
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pp.c b/pp.c
index c112208f44..aa18f8cc64 100644
--- a/pp.c
+++ b/pp.c
@@ -4999,9 +4999,9 @@ PP(pp_split)
SV *csv = CALLREG_INTUIT_STRING(aTHX_ rx);
char c;
- i = rx->minlen;
- if (i == 1 && !tail) {
- c = *SvPV(csv,i);
+ len = rx->minlen;
+ if (len == 1 && !tail) {
+ c = *SvPV(csv,len);
while (--limit) {
/*SUPPRESS 530*/
for (m = s; m < strend && *m != c; m++) ;
@@ -5027,7 +5027,7 @@ PP(pp_split)
if (make_mortal)
sv_2mortal(dstr);
XPUSHs(dstr);
- s = m + i; /* Fake \n at the end */
+ s = m + len; /* Fake \n at the end */
}
}
}