659c69cfef
As suggested by Pierre Habouzit, add strchrnul(). It's a useful GNU extension and can simplify string parser code. There are several places in git that can be converted to strchrnul(); as a trivial example, this patch introduces its usage to builtin-fetch--tool.c. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
hstrerror.c | ||
inet_ntop.c | ||
inet_pton.c | ||
memmem.c | ||
mkdtemp.c | ||
mmap.c | ||
pread.c | ||
setenv.c | ||
strcasestr.c | ||
strchrnul.c | ||
strlcpy.c | ||
strtoumax.c | ||
unsetenv.c |