[PATCH] new strverscmp + versionsort

Natanael Copa natanael.copa at gmail.com
Wed Nov 7 08:25:03 UTC 2007


Hi,

Attatched patch includes same strverscmp as I posted yesterday, but with
the difference that the static arrays are chars rather than ints. Save
228 bytes. It also includes a versionsort and versionsort64.

There are also another implementation of strverscmp here:
http://docs.freebsd.org/cgi/mid.cgi?20060217135455.GB1136

But I think the GNU version with chars instead of ints is smaller and
probably faster.

-nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-0.9.29-svn-versionsort.patch
Type: text/x-patch
Size: 7236 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20071107/4c4ed98c/attachment-0002.bin 


More information about the uClibc mailing list