Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

B #251: Enforce POSIX C locale #261

Merged
merged 2 commits into from
May 3, 2022
Merged

Conversation

ospalax
Copy link

@ospalax ospalax commented May 3, 2022

  • Change the value of LANG to C (POSIX) which is more generic
  • LANG can be insufficient and will not override LC_TIME for example if that was set
  • LC_ALL will ensure that all categories of locale are POSIX C
  • This commit also provides a way for the scripts to find the original locale via _one_orig_* variables if that would be needed

baby-gnu and others added 2 commits November 23, 2021 10:26
Growpart is sensitive to the current locale to work.

Closes OpenNebula#251

Signed-off-by: Daniel Dehennin <[email protected]>
- Change the value to 'C' (POSIX) which is more generic
- LANG can be insufficiant and will not override LC_TIME for example if
  that was set
- LC_ALL will ensure that all categories of locale are POSIX C
- This commit also provides a way for the scripts to find the original
  locale via '_one_orig_*' variables if that would be needed

Signed-off-by: Petr Ospalý <[email protected]>
@ospalax ospalax merged commit 6c18bfb into OpenNebula:master May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants