Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007868: Broken sort of ASCII characters.

$
0
0
Look a this:<br /> <br /> | $ echo -e '+\n.' | sort<br /> | .<br /> | +<br /> | $ echo -e '++\n.a' | sort<br /> | ++<br /> | .a<br /> <br /> glibc swaps '.' and '+' sort order unpredictably, so this is not a sort, but a mess.<br /> <br /> The swap is observed under all (715 ones) CentOS-6.5 locales, except : C(POSIX), ar_SA*, ko_*, ja*, km* and or* (20 ones). Given that, I have a strong belief that this is a core glibc issue, not a particular locale issue.<br /> <br /> Versions of glibc packages are : 2.12-1.132.el6.x86_64.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>