Skip to content

fuzzing: use LC_ALL instead of LC_COLLATE#5889

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:fuzzing_sort_lc_all
Jan 28, 2024
Merged

fuzzing: use LC_ALL instead of LC_COLLATE#5889
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:fuzzing_sort_lc_all

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

The output of GNU sort in #5849 doesn't seem to use the C locale, even though LC_COLLATE=C is set before running GNU sort. The help says to set LC_ALL=C:

The locale specified by the environment affects sort order.
Set LC_ALL=C to get the traditional sort order that uses
native byte values.

On my machine I don't see a difference, both LC_COLLATE=C and LC_ALL=C lead to the same sort output. So I'm not sure whether this PR will fix the issue.

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