Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with radix char different from "." (#1326108) #11

Merged
merged 2 commits into from
Apr 26, 2016

Conversation

vpodzime
Copy link
Contributor

The MPFR library doesn't work well with locales and doesn't accept floats as strings if written in the current locale (e.g. "1,5" in fr_FR). Thus we need to take care about this ourselves.

Plus we should run the unit tests with such a locale to reveal other potential issues.

The fr_FR locale uses "," as a radix char so it can reveal potential issues.
@vpodzime
Copy link
Contributor Author

The unit tests pass, but the whole test suite fails because autotools don't know how to clean after themselves properly.

It doesn't really understand locales and doesn't play with different radix chars
well.
@vojtechtrefny
Copy link
Member

Looks good to me.

@vpodzime vpodzime merged commit 03055e5 into storaged-project:master Apr 26, 2016
vpodzime added a commit to vpodzime/libbytesize that referenced this pull request Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants