diff options
author | Karl Williamson <khw@cpan.org> | 2017-03-09 10:55:38 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-11-06 12:50:05 -0700 |
commit | f55ac4a45513e50ae06769ee748ea079c9577a7f (patch) | |
tree | 663fe20c1c662cf29b46b6689d8d8b69f3125029 /pp_pack.c | |
parent | b59bf0b2884b21b6f3ce5eca607ab7a6096d87f5 (diff) | |
download | perl-f55ac4a45513e50ae06769ee748ea079c9577a7f.tar.gz |
Change some strncmp(), etc. to strBEGINs()
The latter is much clearer as to what's going on, and the programmer and
program reader don't have to count characters.
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ S_mul128(pTHX_ SV *sv, U8 m) PERL_ARGS_ASSERT_MUL128; - if (!strnEQ(s, "0000", 4)) { /* need to grow sv */ + if (! strBEGINs(s, "0000")) { /* need to grow sv */ SV * const tmpNew = newSVpvs("0000000000"); sv_catsv(tmpNew, sv); |