[PATCH] RFC: come up with startswith function.

Mark Wielaard mark@klomp.org
Wed May 12 10:01:33 GMT 2021


Hi Martin,

On Mon, 2021-05-10 at 15:26 +0200, Martin Liška wrote:
> On 5/1/21 12:13 AM, Mark Wielaard wrote:
> > Yes, it is. It looks good and makes the code simpler to read.
> 
> Thanks.
> 
> > Is it OK to add your Signed-off-by before I push it?
> 
> Yes, please do it and push it.

Pushed as:

commit adc201f81902f3015a841869756ed4b9b811fe33 (HEAD -> master)
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Apr 19 14:33:36 2021 +0200

    Come up with startswith function.
    
    New function in system.h that returns true if a string has a given
    prefix, false otherwise.  Use it in place of strncmp.
    
    Signed-off-by: Martin Liška <mliska@suse.cz>

Sorry it missed the 0.184 release.

Cheers,

Mark


More information about the Elfutils-devel mailing list