Re: Patch for dot-files sort order under glibc 2.2
- From: Pavel Roskin <proski gnu org>
- To: "Dmitry Yu. Bolkhovityanov" <D Yu Bolkhovityanov inp nsk su>
- Cc: <mc gnome org>, <mc-devel gnome org>
- Subject: Re: Patch for dot-files sort order under glibc 2.2
- Date: Wed, 11 Jul 2001 14:28:33 -0400 (EDT)
Hi, Dmitry!
The idea is trivial -- "ad" and "bd" flags change from boolean to
integers (they are integers anyway, because of "bd-ad"), and "ISDIR" gets
bigger weight than "is-dot-file".
The problem is not specific to the dot. Files beginning with other
punctuation characters, such as "=" are also sorted by the first letter:
$ ls -1
bar
=foo
;foo
foo1
I'm crossposting it to mc-devel (sorry if it isn't needed).
You are correct, patches should go to mc-devel.
As to case mixing in name sort, there is a "FIXME" note just before
#define string_sortcomp, so somebody obviously realized the problem before,
but yet with no solution.
It was me :-)
"cvs annotate" is your friend.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]