diff options
author | Miloslav Trmač <mitr@redhat.com> | 2019-03-02 06:36:44 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2019-04-09 21:08:44 +0200 |
commit | 97c9115c02b05f9aa0120b84deffed8b7b3d6018 (patch) | |
tree | 97e103ca1c4186d554ddb36295739eb34e2c2ed8 /vendor/golang.org | |
parent | fe79bdd07e140176dc64ebef8da3eea2ae28b96b (diff) | |
download | podman-97c9115c02b05f9aa0120b84deffed8b7b3d6018.tar.gz podman-97c9115c02b05f9aa0120b84deffed8b7b3d6018.tar.bz2 podman-97c9115c02b05f9aa0120b84deffed8b7b3d6018.zip |
Potentially breaking: Make hooks sort order locale-independent
Don't sort OCI hooks using the locale collation order; it does not
make sense for the same system-wide directory to be interpreted differently
depending on the user's LC_COLLATE setting, and the language-specific
collation order can even change over time.
Besides, the current collation order determination code has never worked
with the most common LC_COLLATE values like en_US.UTF-8.
Ideally, we would like to just order based on Unicode code points
to be reliably stable, but the existing implementation is case-insensitive,
so we are forced to rely on the unicode case mapping tables at least.
(This gives up on canonicalization and width-insensitivity, potentially
breaking users who rely on these previously documented properties.)
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'vendor/golang.org')
0 files changed, 0 insertions, 0 deletions