Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | perl_langinfo.h: Fix typo in comment | Karl Williamson | 2018-03-12 | 1 | -1/+1 |
| | |||||
* | Change enum names for new locale function parameters | Karl Williamson | 2018-03-12 | 1 | -288/+171 |
| | | | | | | | | | | | | | | Earlier in the 5.27 series, I introduced Perl_langinfo which calls the system nl_langinfo() on platforms that have it, and emulates it otherwise. For each enum parameter 'foo', I made an equivalent parameter PERL_foo. I did this so that no conflicts would arise if any 'foo' were negative. This is less than ideal to have to rename the parameters. In looking further, I realized that perl has always excluded the possibility of negative values for 'foo', so my precaution is unnecessary. And before this new code is released is the time to fix up the interface. | ||||
* | Perl_langinfo: Teach about YESSTR and NOSTR | Karl Williamson | 2018-01-30 | 1 | -2/+12 |
| | | | | | | These are items that nl_langinfo() used to be required to return, but are considered obsolete. Nonetheless, this drop-in replacement for that function should know about them for backward compatibility. | ||||
* | Add API function Perl_langinfo() | Karl Williamson | 2017-09-09 | 1 | -0/+297 |
This is designed to generally replace nl_langinfo() in XS code. It is thread-safer, hides the quirks of perl's LC_NUMERIC handling, and can be used on systems lacking nl_langinfo. |