summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-03-08 20:31:25 -0700
committerKarl Williamson <khw@cpan.org>2017-11-06 12:50:05 -0700
commitc8b388b0c776dab4a28db03739aff4d64daccada (patch)
tree3bf17c3a7a4b2b7f260199423ce0baf55dc9e809 /hv.c
parent98d1c64ef90693f86df84c4ce96718ed136e933c (diff)
downloadperl-c8b388b0c776dab4a28db03739aff4d64daccada.tar.gz
Rename strEQs to strBEGINs; remove strNEs
The original names are confusing. See thread beginning with http://nntp.perl.org/group/perl.perl5.porters/244335 The two macros are mapped into just that one, complementing the result for the few cases where strNEs was used.
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 7029e28387..04129f8138 100644
--- a/hv.c
+++ b/hv.c
@@ -1279,7 +1279,7 @@ S_hv_delete_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
sv_2mortal((SV *)gv)
);
}
- else if (klen == 3 && strEQs(key, "ISA") && GvAV(gv)) {
+ else if (klen == 3 && strBEGINs(key, "ISA") && GvAV(gv)) {
AV *isa = GvAV(gv);
MAGIC *mg = mg_find((SV*)isa, PERL_MAGIC_isa);