summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-23 11:01:58 -0600
committerKarl Williamson <khw@cpan.org>2019-03-23 11:07:36 -0600
commite7a474c07a323436b1df5dd0738f84316f86ca48 (patch)
treeff64533f479fa4f6a5249da2e723afc90c2fa975 /regexec.c
parent07fbfc1d8cc566004b43d10c5bec8682b01400e8 (diff)
downloadperl-e7a474c07a323436b1df5dd0738f84316f86ca48.tar.gz
PATCH: [perl #132928] Save some bytes
This takes Zefram's approach to avoid duplicated string constants on some compilers
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 00e822d729..9d67da614e 100644
--- a/regexec.c
+++ b/regexec.c
@@ -92,7 +92,7 @@ static const char utf8_locale_required[] =
#ifdef DEBUGGING
/* At least one required character in the target string is expressible only in
* UTF-8. */
-static const char* const non_utf8_target_but_utf8_required
+static const char non_utf8_target_but_utf8_required[]
= "Can't match, because target string needs to be in UTF-8\n";
#endif