Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: configthreadlocale() error checking
The code previously just assumed the system call always worked. But it may not if the CRTL is wrong; this surfaced on a mingw compile. It's better to have it fail outright than to continue and silently give a wrong answer.
- Loading branch information
1 parent
d49bacc
commit 600a57f
Showing
1 changed file
with
32 additions
and
12 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