GNU nano - Bugs: bug #59059, equivalent filenames are left...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59059: equivalent filenames are left unsorted in the browser
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Thu 03 Sep 2020 01:32:26 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Thu 03 Sep 2020 02:34:52 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Thu 03 Sep 2020 02:33:17 PM UTC, comment #1: It would be easy to fix by calling strcoll() instead of mbstrcasecmp() in diralphasort() in src/files.c. But that would also mean that, for example, .git/ would get sorted between doc/ and gnulib, which I don't expect, and that uppercase gets sorted after lowercase, which I find ugly. (Only now I realize that 'ls' sorts things that way too, I just never noticed, because I seldom use 'ls -a' and filenames are virtually never differ only in case.) |
Benno Schulenberg <bens> |
Thu 03 Sep 2020 01:32:26 PM UTC, original submission:
To reproduce, first do:
(In that last line, use enough ones to cover a third of the width of the terminal.)
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-10-08 | bens | Open/Closed | Open | Closed | |
2020-09-03 | bens | Status | In Progress | Fixed | |
2020-09-03 | bens | Status | None | In Progress | |
Assigned to | None | bens |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed in git, commit bbc7c595, by breaking the tie (when a case-insensitive comparison finds no diffence) with a plain bytewise strcmp().