[PATCH 2/5] Bionic lacks mempcpy; enable existing workaround

Denys Vlasenko vda.linux at googlemail.com
Sun May 3 17:00:22 UTC 2015


Applied, thanks!


On Wed, Apr 29, 2015 at 4:45 AM, Matt Whitlock
<busybox at mattwhitlock.name> wrote:
> (The attached patch subsumes the previous "Bionic lacks mempcpy; enable existing workaround".)
>
> Bionic has been growing new features over the years, so platform.h should test the __ANDROID_API__ macro to determine which functions to polyfill.
>
> Specifically:
> * Bionic has supported fdprintf() since API level 8. This is a direct replacement for dprintf(). (The Bionic header chides Glibc for choosing the name "dprintf".)
> * Bionic has supported ttyname_r(), getline(), and stpcpy() since API level 21.
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list