This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3506] New: strverscmp misbehaves with additional text after the version number
- From: "guichaz at yahoo dot fr" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 11 Nov 2006 17:00:33 -0000
- Subject: [Bug libc/3506] New: strverscmp misbehaves with additional text after the version number
- Reply-to: sourceware-bugzilla at sourceware dot org
strverscmp("gliv-1.0", "gliv-1.0.1") => -46 => Good
strverscmp("gliv-1.0.tar.gz", "gliv-1.0.1.tar.gz") => 67 => Bad
Given that strverscmp is mainly used to sort filenames of versionned projects,
it should apply the same order with or without a suffix.
--
Summary: strverscmp misbehaves with additional text after the
version number
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: guichaz at yahoo dot fr
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3506
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.