Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle (non-conforming) allergy to setlocale in %'
As was mentioned on GitHub (PR 1285), "I have a disability that makes me allergic to calling setlocale() and unable to read large numbers without grouping". Thus, this patch alters the printf family's <apostrophe> flag to always group characters together with an apostrophe, even though this is clearly non-conforming to POSIX when using the default C/POSIX locale (which does not have a thousands' grouping character, meaning none ought to be printed even when the ' flag is present, behavior which would thus normally require change of locale (e.g. using setlocale) to be changed).
- Loading branch information