[flashrom] [PATCH] Modify strnlen() check for old OSes to check its presence directly

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Mon Jan 4 04:37:13 CET 2016


On Sun,  3 Jan 2016 22:22:19 +0300
Andrey Korolyov <andrey at xdel.ru> wrote:

> Adding generic check against the function in addition to check for
> a problematic compiler.

Hi Andrey,

thanks for the patch. Did you notice any breakage in the wild? I
hesitate to include your change because that could actually break some
configurations: in case HAVE_STRNLEN is not defined but strnlen is
provided nonetheless linking would fail. Actually I'd be surprised if it
would not make problems with other libc implementations.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list