Skip to content

Commit

Permalink
locale.c: Note another Configuration option
Browse files Browse the repository at this point in the history
This is about another Configuration option that affects locale handling.
  • Loading branch information
khwilliamson committed Oct 27, 2023
1 parent 4b5c177 commit 1778c08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions locale.c
Expand Up @@ -252,6 +252,15 @@
* querylocale() is called only while the locale mutex is locked, and
* the result is copied to a per-thread place before unlocking.
*
* -Accflags=-DUSE_NL_LOCALE_NAME
* glibc has an undocumented equivalent function to querylocale(). It
* currently isn't used by default because it is undocumented. But
* testing hasn't found any problems with it. Using this Configure
* option enables it on systems that have it (with no effect on
* systems lacking it). Enabling this removes the need for perl
* to keep its own records, hence is more efficient and guaranteed to
* be accurate.
*
* -Accflags=-DNO_LOCALE_CTYE
* -Accflags=-DNO_LOCALE_NUMERIC
* etc.
Expand Down

0 comments on commit 1778c08

Please sign in to comment.