This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3506] New: strverscmp misbehaves with additional text after the version number


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]