Bug#205325: glibc: please add strnatcmp / strnatcasecmp
On 2 Oct 2003, Anand Kumria <email@example.com> wrote:
> On Thu, Aug 14, 2003 at 02:53:37PM +1000, Martin Pool wrote:
> > On 14 Aug 2003, Anand Kumria <firstname.lastname@example.org> wrote:
> > > Package: glibc
> > > Version: unavailable; reported 2003-08-14
> > > Severity: wishlist
> > >
> > > Hi there,
> > >
> > > I'm surprised there isn't already something similiar to strnatcmp in glibc
> > > <URL: http://sourcefrog.net/projects/natsort/> but both functions would
> > > certainly be usable.
> > >
> > > The license appear to allow for the inclusion of both functions, so hopefully
> > > this isn't a huge to deal to get included.
> > glibc has strverscmp().
> strnatcmp() is much nicer IMO. Far more descriptive.
Yes, the semantics are a little different. If you think you can
persuade the glibc maintainers to take it then I'd be happy to support
> > The strnatcmp licence was necessary to merge it into Apache, which is
> > not possible with the GNU implementation.
> Does that mean you would be unwilling to relicense it - should it be
> required - to get it into GNU libc?
At the moment it is under zlib, which is (I think) strictly weaker
than GNU GPL. So they can either use it as is, or I can relicense it.