On Sat, 15 Sep 2018 12:42:22 +0200, Martijn van Duren wrote:

> While here, should we also remove any in favour of strchr? Only
> difference seems to be the return type (bool vs pointer).

Note that any(NULL, ch) is safe whereas strchr(NULL, ch) will crash.
It is hard to say whether or not there are actual calls to any()
with a NULL string (most use a constant string) but this needs to
be checked before committing.

 - todd

Reply via email to