This is the mail archive of the
mailing list for the glibc project.
[Bug manual/20524] strverscmp is inconsistent
- From: "peda at lysator dot liu.se" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 29 Aug 2016 14:02:30 +0000
- Subject: [Bug manual/20524] strverscmp is inconsistent
- Auto-submitted: auto-generated
- References: <email@example.com/bugzilla/>
--- Comment #5 from Peter Rosin <peda at lysator dot liu.se> ---
Created attachment 9481
fix ordering in strverscmp
Ok, it was said that fixing it was not an option "at this point" since "it
is what it is". But the function has been "fixed" once, in 2009 , so
what is different "at this point"? And gnulib still has the old version
from pre-2009. So, everything is out of sync and just generally b0rked.
FWIW, this patch fixes it to my liking. I'm not bothering with a
changelog/signoff since I have little hope of it being applied...
The patch gets you this order:
0000 < 000 < 000! < 000a < 00 < 00! < 00a < 0001 < 001 < 0100 < 010 < 010! <
010a < 01 < 01! < 01a < 0101 < 011
You are receiving this mail because:
You are on the CC list for the bug.