[flashrom] [PATCH] Make strnlen() visible in old versions of glibc.
Stefan Tauner
stefan.tauner at alumni.tuwien.ac.at
Tue Jan 27 19:14:39 CET 2015
On Tue, 27 Jan 2015 10:33:52 +0100
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> wrote:
> On 27.01.2015 00:53, Stefan Tauner wrote:
> > strnlen() is in POSIX 2008 but was a GNU extension up to glibc 2.10 requiring
> > to define _GNU_SOURCE. This fixes compilation on CentOS 4.9.
> > Also, move our implementation of strnlen() that was added to support DJGPP
> > to helpers.c.
> >
> > Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
>
> Excellent!
> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Thanks, r1878.
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
More information about the flashrom
mailing list