diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-04-30 22:00:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-04-30 22:00:34 +0000 |
commit | 56eb0262cf56fc0680c7c9ab97c66f67c16df4f0 (patch) | |
tree | 7794e373365f03f3d73ecfe386dea19d247918e7 /pp_pack.c | |
parent | b47163a2906cf2ff40db5092eaa4c948dd1e63f0 (diff) | |
download | perl-56eb0262cf56fc0680c7c9ab97c66f67c16df4f0.tar.gz |
Replace a STRLEN no_len; with a _nolen macro call.
p4raw-id: //depot/perl@28032
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2370,14 +2370,13 @@ void Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, register SV **beglist, SV **endlist ) { dVAR; - STRLEN no_len; tempsym_t sym; TEMPSYM_INIT(&sym, pat, patend, FLAG_PACK); /* We're going to do changes through SvPVX(cat). Make sure it's valid. Also make sure any UTF8 flag is loaded */ - SvPV_force(cat, no_len); + SvPV_force_nolen(cat); if (DO_UTF8(cat)) sym.flags |= FLAG_PARSE_UTF8 | FLAG_DO_UTF8; |