From: René Scharfe Date: Sun, 09 Jul 2017 13:19:53 GMT Subject: Re: [PATCH] apply: use strcmp(3) for comparing strings in gitdiff_verify_name() Message-ID: <52d0ac32-7b3d-990d-8ad9-42ef9ee8d8cf@web.de> In-Reply-To: <87lgnxpyzu.fsf@linux-m68k.org> Am 09.07.2017 um 14:37 schrieb Andreas Schwab: > On Jul 09 2017, René Scharfe wrote: > >> [2] http://pubs.opengroup.org/onlinepubs/009695399/functions/memchr.html > > You are using an old revision. OK, the final draft of C11 [3] says "The implementation shall behave as if it reads the characters sequentially and stops as soon as a matching character is found." I wonder when we can begin to target C99 in git's source, though. :) René [3] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf