mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-20 18:29:19 +03:00
3c4221bc40
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> |
||
---|---|---|
.. | ||
Makefile.am | ||
strescape.c | ||
strutil8bit.c | ||
strutil.c | ||
strutilascii.c | ||
strutilutf8.c | ||
strverscmp.c |