[PATCH] Added replacement function for strverscmp
Denys Vlasenko
vda.linux at googlemail.com
Tue Jun 21 14:41:31 UTC 2011
On Mon, Jun 13, 2011 at 9:42 PM, Daniel Fandrich <dan at coneharvesters.com> wrote:
> This is a GNU extension that isn't found in other libcs.
>
> Signed-off-by: Daniel Fandrich <dan at coneharvesters.com>
Applied with some changes.
As other people suggested, I ifdef'ed out strverscmp in ls.c
if HAVE_STRVERSCMP is not defined.
BTW, the patch contains some strange "=" symbols:
+# undef HAVE_STRVERSCMP
# undef HAVE_XTABS
# undef HAVE_DPRINTF
#endif
= <================???
#if defined(__digital__) && defined(__unix__)
# undef HAVE_STPCPY
+# undef HAVE_STRVERSCMP
#endif
= <================???
#if defined(ANDROID)
# undef HAVE_DPRINTF
# undef HAVE_STPCPY
# undef HAVE_STRCHRNUL
+# undef HAVE_STRVERSCMP
# undef HAVE_NET_ETHERNET_H
#endif
= <================???
--
vda
More information about the busybox
mailing list