[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205325: glibc: please add strnatcmp / strnatcasecmp



On 14 Aug 2003, Anand Kumria <wildfire@progsoc.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().  The algorithm is similar but not quite the
same.  You might still argue for including strnatcmp but it's probably
not worthwhile.

The glibc maintainers might (?) want it to be
internationalized/wcharized if it was going to be merged.

The strnatcmp licence was necessary to merge it into Apache, which is
not possible with the GNU implementation.

Regards,
-- 
Martin 



Reply to: