[PATCH] posix: Add nonnull attribute to glob_pattern_p.

Collin Funk collin.funk1@gmail.com
Wed Jun 18 17:51:36 GMT 2025


Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:

> On 07/06/25 20:20, Collin Funk wrote:
>> * posix/glob.h (glob_pattern_p): Add __nonnull ((1)) since this function
>> expects a string and does not check for NULL.
>> 
>> Signed-off-by: Collin Funk <collin.funk1@gmail.com>
>
> LGTM, thanks.
>
> Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

Thanks for the review.

Can you push for me? I don't have commit privileges.

Collin


More information about the Libc-alpha mailing list