mc/lib
Vladimir Brednikov 3c4221bc40 Ticket #1994: Sort files by version (like strverscmp(3) does)
Suppose we have 3 files with version in their names:
 * file-2.1.tgz
 * file-2.2.tgz
 * file-2.10.tgz

It is impossible to see them in natural order using standard facilities,
they will be sorted in alphabet order:
 * file-2.1.tgz
 * file-2.10.tgz
 * file-2.2.tgz

There was some attempts to fix this. I've picked up the patch by Roland Illig <roland illig gmx de>
(http://mail.gnome.org/archives/mc-devel/2004-July/msg00016.html) and adopted it for today's git snapshot.
It adds "version" option to the sort menu, which uses copy of strverscmp function from glibc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-22 11:08:37 +02:00
..
filehighlight Moved strecape.[ch] into library 2010-01-26 10:30:25 +02:00
mcconfig lib/mcconfig/common.c: fixed memory leak 2010-02-02 21:56:01 +03:00
search Moved strecape.[ch] into library 2010-01-26 10:30:25 +02:00
skin Ticket #1990: code cleanup before 4.7.0.2 release. 2010-02-02 21:45:05 +03:00
strutil Ticket #1994: Sort files by version (like strverscmp(3) does) 2010-02-22 11:08:37 +02:00
tty Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC. 2010-02-06 13:21:25 +03:00
vfs Ticket #2018: strcpy() is used for overlaping strings. 2010-02-18 13:21:25 +00:00
filehighlight.h Changes for build after moving interface includes 2010-01-26 10:30:25 +02:00
fileloc.h extfs.ini file is replaced to extfs.d directory. 2010-02-15 16:10:02 +00:00
fs.h Reorganization of sources. Part 1. 2010-01-26 10:30:23 +02:00
glibcompat.c Reorganization of sources. Part 1. 2010-01-26 10:30:23 +02:00
glibcompat.h Reorganization of sources. Part 1. 2010-01-26 10:30:23 +02:00
global.h Move logging.[ch] into library 2010-01-26 10:30:26 +02:00
logging.c Changes for build after moving logging.[ch] into library 2010-01-26 10:30:26 +02:00
logging.h Move logging.[ch] into library 2010-01-26 10:30:26 +02:00
Makefile.am lib/Makefile.am: added lib/skin.h into distribution 2010-02-02 18:01:18 +02:00
mcconfig.h Move all interface includes from subdirs lib/*/*.h into lib/*.h 2010-01-26 10:30:25 +02:00
search.h Move all interface includes from subdirs lib/*/*.h into lib/*.h 2010-01-26 10:30:25 +02:00
skin.h Move all interface includes from subdirs lib/*/*.h into lib/*.h 2010-01-26 10:30:25 +02:00
strescape.h Moved strecape.[ch] into library 2010-01-26 10:30:25 +02:00
strutil.h Ticket #1994: Sort files by version (like strverscmp(3) does) 2010-02-22 11:08:37 +02:00
timefmt.h Added missed includes. 2010-02-02 21:45:11 +03:00
unixcompat.h patches for AIX with ncurses support 2010-01-27 10:04:38 +02:00
util.c Ticket #1767: Custom/locale-based date format 2010-02-15 12:31:47 +02:00
util.h Ticket #1767: Custom/locale-based date format 2010-02-15 12:31:47 +02:00
utilunix.c Ticket #262: remove obsolete own putenv() implementation. 2010-01-30 18:31:24 +03:00