[LTP] [PATCH] cpuset_lib: Replace index() with strchr()

Petr Vorel pvorel@suse.cz
Mon Jul 23 13:54:59 CEST 2018


Hi Alistair,

> The index() function was removed in POSIX.2008. It is not implemented by
> Android's bionic C library for 64-bit platforms.

> Use the more portable strchr() function from C89.

> Signed-off-by: Alistair Strachan <astrachan@google.com>

Thanks for your patch, pushed!

Kind regards,
Petr


More information about the ltp mailing list