On 2025-09-25 10:03, Alejandro Colomar wrote:
Did I change your opinion in any way about having the pointer variant named either strprefix() or stpprefix()? Do you have any preference for any of them?
I'd have a better feeling about these if I saw how they might be used in Gnulib. For example, are there instances of code now that could use them but where str_startswith and str_endswith does not suffice?
For streq and memeq the answer was easy: there were several places where they simplified Gnulib callers, and that was a good argument for adding them to Gnulib. Is there a similar argument for strprefix and strsuffix?
