I was testing on Darwin.  More specifically, iPhoneOS6.1.sdk

Also, http://www.manpagez.com/man/alpha.php?S does not list strchrnul()

However,

#if defined(__FreeBSD__) || defined(__APPLE__)
should really be
#if defined(__APPLE__)

that is, the old #ifdef was _wrong_.  Seems like FreeBSD has strchrnul()
since Feb 13 2013.

Reference:
http://lists.freebsd.org/pipermail/svn-src-head/2013-February/044883.html

Denys Vlasenko wrote:
On Tuesday 26 November 2013 20:52, Daniel Borca wrote:
strchrnul() is a GNU extension

Applied.

But you need to take time to provide minimal explanation.
In this case: with which toolchain did you need this fix?

-dborca
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to