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

Wrapper : Reintroduce LC_NUMERIC=C #5159

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
1.2.x.x (relative to 1.2.0.2)
=======

Fixes
-----

- Locale :
- Reintroduced `LC_NUMERIC=C` environment variable assignment to wrapper. This was removed in `1.2.0.0` but is still necessary due to a [bug in Cortex](https://github.com/ImageEngine/cortex/issues/1338).
- Fixed serialisation of `.gfr` files in locales with non-default numeric formatting (#5158).

Documentation
-------------

Expand Down
6 changes: 6 additions & 0 deletions bin/gaffer
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ if [[ $1 == -psn_0_* ]] ; then
shift
fi

# Work around https://github.com/ImageEngine/cortex/issues/1338, which
# causes bad serialisations in certain locales.
##########################################################################

export LC_NUMERIC=C

# Find where this script is located, resolving any symlinks that were used
# to invoke it. Set GAFFER_ROOT based on the script location.
##########################################################################
Expand Down