diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-07 08:07:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-07 08:07:58 +0000 |
commit | 1b18133a105fbc5f80d40c868e5dcd6642b2283a (patch) | |
tree | d099e5888df0f35505f032e1fd83689b932df6c0 /pp.c | |
parent | 61123c315f37e918851a84240eafd9ae275821d7 (diff) | |
parent | c4be5b273ea01a42f8bea870c9703dc3eaa652b6 (diff) | |
download | perl-1b18133a105fbc5f80d40c868e5dcd6642b2283a.tar.gz |
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@3638
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 */ } } } |