Re: [PATCH] s6-unquote*: it's memchr(str, char, len), not memchr(str, len, char)

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sat, 13 Jun 2020 13:22:40 +0000

>- if (!memchr(delim, delimlen, *s))
>+ if (!memchr(delim, *s, delimlen))

  Ouch. I blame djb's byte_chr(), which has arguments 2 and 3 inverted,
for that one. :)
  Applied, thanks!

--
  Laurent
Received on Sat Jun 13 2020 - 13:22:40 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC