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 Strutil::strtod_l/strtod_l on Hurd #1850

Merged
merged 2 commits into from
Jan 21, 2018
Merged

Fix Strutil::strtod_l/strtod_l on Hurd #1850

merged 2 commits into from
Jan 21, 2018

Conversation

pinotree
Copy link
Contributor

Description

Fix Strutil::strtod_l/strtod_l, so it builds on Hurd, and on systems using the fallback code using the non-_l versions.

Tests

Builds on Hurd, using both fallback code and _l versions.

Checklist:

  • I have read the contribution guidelines.
  • If this is more extensive than a small change to existing code, I
    have previously submitted a Contributor License Agreement
    (individual, and if there is any way my
    employers might think my programming belongs to them, then also
    corporate).
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • My code follows the prevailing code style of this project.

Since they are available on any platform that uses GNU libc, enable it
directly.
@lgritz
Copy link
Collaborator

lgritz commented Jan 21, 2018

LGTM, thanks for the fix!

@lgritz lgritz merged commit 195d3e6 into AcademySoftwareFoundation:master Jan 21, 2018
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request Jan 21, 2018
* Strutil: use the right variable

* Strutil: use strtod_l/strtod_l on GNU libc

Since they are available on any platform that uses GNU libc, enable it
directly.
@lgritz
Copy link
Collaborator

lgritz commented Jan 21, 2018

I will also backport this to 1.8

@pinotree pinotree deleted the hurd-strutil branch January 21, 2018 22:55
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.

2 participants