[PATCH v4 01/10] string: provide strends()
Andy Shevchenko
andy.shevchenko at gmail.com
Tue Nov 18 02:13:03 PST 2025
On Tue, Nov 18, 2025 at 11:47 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
> On Mon, Nov 17, 2025 at 9:33 PM Kees Cook <kees at kernel.org> wrote:
> > On Wed, Nov 12, 2025 at 02:55:30PM +0100, Bartosz Golaszewski wrote:
...
> > > + * True if @str ends with @suffix. False in all other cases.
> >
> > Maybe added "empty strings never match"?
>
> But they do, please see the test.
I also think that "" == "" (on the same page as Bart). Why should we
make it different?
--
With Best Regards,
Andy Shevchenko
More information about the linux-arm-kernel
mailing list