On Tue, Jul 15, 2025 at 9:52 AM Andy Shevchenko <[email protected]> wrote: > On Tue, Jul 15, 2025 at 8:24 AM Kees Cook <[email protected]> wrote: > > > > On Fri, Jul 11, 2025 at 11:55:14AM +0300, Andy Shevchenko wrote: > > > The two str_has_prefix() and strstarts() are about the same > > > with a slight difference on what they return. Group them in > > > the header. > > > > It seems more like strstarts should just be a macro around > > str_has_prefix() != 0?
Actually this won't work for len == 0, would it? > This change is only about grouping, but if you think it worth > modifying, I am not going to object. Just that I am about to have my > vacation and I leave this as is for now. Up to you how to proceed. -- With Best Regards, Andy Shevchenko
