Skip to content

numfmt: honor LC_NUMERIC for decimal separator#11941

Merged
cakebaker merged 3 commits intouutils:mainfrom
pocopepe:11927
Apr 22, 2026
Merged

numfmt: honor LC_NUMERIC for decimal separator#11941
cakebaker merged 3 commits intouutils:mainfrom
pocopepe:11927

Conversation

@pocopepe
Copy link
Copy Markdown
Contributor

Fixes #11927

Fixing hardcoded '.' as decimal separator with locale separator via locale_decimal_separator(), using it for both input parsing and output formatting

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 22, 2026

GNU testsuite comparison:

Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/resolution (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/csplit/csplit-heap is now being skipped but was previously passing.
Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.
Congrats! The gnu test tests/unexpand/bounded-memory is now passing!

@cakebaker cakebaker merged commit b3469ae into uutils:main Apr 22, 2026
169 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks for your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

numfmt: does not honor LC_NUMERIC for decimal separator (input and output)

2 participants