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

fuzzing: use LC_ALL instead of LC_COLLATE #5889

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

cakebaker
Copy link
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.

@sylvestre sylvestre merged commit ab3a723 into uutils:main Jan 28, 2024
60 of 61 checks passed
@cakebaker cakebaker deleted the fuzzing_sort_lc_all branch January 28, 2024 11:31
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