* Eric Blake wrote on Mon, Nov 02, 2009 at 08:17:36PM CET:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> 
> > The compiler warning is bogus.  Your patch pessimizes the code; IIRC it
> > can cause runtime-initialization of the pointer.
> > 
> > OK to commit a patch to change this to strlen.
> 
> Like so?

Yes, thanks.

> Date: Mon, 2 Nov 2009 11:58:28 -0700
> Subject: [PATCH] Allow gcc builds with -Wall -Werror.
> 
> * libltdl/ltdl.c (try_dlopen): Use strlen rather than LT_STRLEN on
> an array that will never be NULL.
> 
> Signed-off-by: Eric Blake <e...@byu.net>

Signed-off-by: Ralf Wildenhues <ralf.wildenh...@gmx.de>


Reply via email to