[PATCH] Added replacement function for strverscmp

Dan Fandrich dan at coneharvesters.com
Mon Jun 13 20:13:55 UTC 2011


On Mon, Jun 13, 2011 at 03:47:39PM -0400, Rich Felker wrote:
> If it's nonstandard and glibc-only, shouldn't it be *undefined* by
> default and defined only if defined(__GLIBC__)&&!defined(__UCLIBC__)
> or similar?

Practically all the platform.c functions are nonstandard; this one just
happens to be implemented by noone other than glibc (of the systems supported
in platform.h).  The default is to assume that the environment supports what
Busybox needs, and only "deficient" environments need to add #undefs to get
the replacement functions.

> Looks like an encoding error in your email/patch...

Sorry, my MUA erroneously tagged the charset as ISO-8859-1 instead of UTF-8.
git am will apply it correctly if given raw message text as input, or I could
resend it on request.

>>> Dan


More information about the busybox mailing list