summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-04-04 14:51:40 +0100
committerDavid Mitchell <davem@iabyn.com>2016-04-04 14:51:40 +0100
commit19949523b593c5b1e189da235f8065e235ee68e0 (patch)
tree9c8e8254b196644e2e819ddf83936ee3fa95c417
parentc5d7841e4eb4cac218f8e76e74844b681396e3b2 (diff)
downloadperl-19949523b593c5b1e189da235f8065e235ee68e0.tar.gz
Follow-up to previous Solaris/S_regmatch commit
PL_charclass is the thing being temporarily #defined to something else, so it's the thing that needs #undeffing at the end, not pl_charclass_dup. Doesn't make any difference at the moment, but would if at some point a function following S_regmatch() started making use of PL_charclass.
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 9acb5a0307..cdaa95cce5 100644
--- a/regexec.c
+++ b/regexec.c
@@ -8324,7 +8324,7 @@ NULL
}
}
#ifdef SOLARIS_BAD_OPTIMIZER
-# undef pl_charclass_dup
+# undef PL_charclass
#endif
/*