diff options
author | Karl Williamson <public@khwilliamson.com> | 2014-02-03 19:12:16 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2014-02-03 20:43:33 -0700 |
commit | 690140045b6a80981ca64b0ea62f68c2035574f1 (patch) | |
tree | d4d2a3d00f37920d1cb84fc1d52a3646b6e64c87 /perl.c | |
parent | 240a4b1129a0b1ee7eab430e28c7bd4f7486938a (diff) | |
download | perl-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |