summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-03 19:12:16 -0700
committerKarl Williamson <public@khwilliamson.com>2014-02-03 20:43:33 -0700
commit690140045b6a80981ca64b0ea62f68c2035574f1 (patch)
treed4d2a3d00f37920d1cb84fc1d52a3646b6e64c87 /perl.c
parent240a4b1129a0b1ee7eab430e28c7bd4f7486938a (diff)
downloadperl-690140045b6a80981ca64b0ea62f68c2035574f1.tar.gz
Add -DL option to trace setlocale calls
This will help field debugging of locale issues.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index eb7b95403e..cd5f97fd8f 100644
--- a/perl.c
+++ b/perl.c
@@ -3062,6 +3062,7 @@ Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
" q quiet - currently only suppresses the 'EXECUTING' message\n"
" M trace smart match resolution\n"
" B dump suBroutine definitions, including special Blocks like BEGIN\n",
+ " L trace some locale setting information--for Perl core development\n",
NULL
};
int i = 0;
@@ -3070,7 +3071,7 @@ Perl_get_debug_opts(pTHX_ const char **s, bool givehelp)
if (isALPHA(**s)) {
/* if adding extra options, remember to update DEBUG_MASK */
- static const char debopts[] = "psltocPmfrxuUHXDSTRJvCAqMB";
+ static const char debopts[] = "psltocPmfrxuUHXDSTRJvCAqMBL";
for (; isWORDCHAR(**s); (*s)++) {
const char * const d = strchr(debopts,**s);