Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XXX tests: sync_locale() Make sure to get info from global locale
This function is supposed to copy the global locale state to the per-thread one, but until this commit, if the current locale being used was the per-thread one, it would be a no-op. This is an edge case that rarely would occur in practice, as the point of this function is when you are in the global locale, so wouldn't generally be called otherwise. But it should handle the edge case properly.
- Loading branch information