Patch for dot-files sort order under glibc 2.2

Pavel Roskin proski at gnu.org
Fri Jul 13 16:22:18 UTC 2001


Hi, Dmitry!

>     Anyway, dot-files are so special that probably making at least *them*
> sort correctly is a good reason for applying this patch.  BTW, it isn't a
> hack at all -- we don't treate separate sorting of directories as a hack,

It's configurable via "Options"->"Configuration..."->"miX all files"

> right?  And from users' point of view hidden files are just like dirs (and
> in other OSes "hidden" is even an attribute, exactly like "dir").

Sounds reasonable.

>     I made a quick poll among our users (I'm a sysadmin of our institute's
> network).  The result is that they can survive mixing case-differing names,
> but spreading dot-files throughout the directory is absolutely unacceptable.

Then they should set LC_COLLATE=POSIX in the environment (e.g. in
.bash_profile) or unset "case sensitive" in the "Sort order" dialog.

I don't like adding features to work around bugs.  Broken case sensitive
sort is a bug, not a feature.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list