Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
locale.c: Collapse duplicate logic into one instance
The previous commit move the logic for localeconv() into locale.c. This commit takes advantage of that to use it instead of repeating the logic. On Windows, there is alternative way of finding the radix character for systems that have a localeconv() that could cause a race. Prior to this commit, if that failed to find something that looked like the radix, it returned a '?'. Now it will drop down to using this new code, as the likelihood of the race is small. Notably, this commit removes the inconsistent duplicate logic that had been used to deal with the Windows broken localeconv() bug.
- Loading branch information
1 parent
745910a
commit cf53ed0
Showing
4 changed files
with
158 additions
and
160 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
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
Oops, something went wrong.