-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perl_langinfo.h: Resume some assumptions
To save some typing, I assumed that if a system had these glibc-only locale categories, that it would have all elements that comprise them. For example with LC_PAPER, the elements are the height and width of a piece of paper. It doesn't make any sense to have LC_PAPER without any dimensions available. But Android has LC_PAPER without paper dimensions; the same with all the other elements in the glibc category extensions. See GH #22627. I believe that means that these categories are useless on this platform. But this commit now checks each element for existence individually; removing the assumption that if the category exists, the element must too.
- Loading branch information
1 parent
82c4939
commit fe289ff
Showing
1 changed file
with
147 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters