mailing list of musl libc
 help / color / mirror / code / Atom feed
3a86beebf636e4ab5b4f16ff4c2c8c772dedab59 blob 149 bytes (raw)

1
2
3
4
5
6
7
 
#include <string.h>

char *(strchr)(const char *s, int c)
{
	char *r = __strchrnul(s, c);
	return *(unsigned char *)r == (unsigned char)c ? r : 0;
}
debug log:

solving 3a86beeb ...
found 3a86beeb in https://inbox.vuxu.org/musl/c166b0a43bfeb6f50b341d752ba0230d42eb08ab.1684932942.git.Jens.Gustedt@inria.fr/ ||
	https://inbox.vuxu.org/musl/a6fc4ae313c0362fadb2db179d781da850995c21.1685541439.git.Jens.Gustedt@inria.fr/
found 3cbc828b in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 3cbc828bebf705ae570e1bfd0c2b518f929c054c	src/string/strchr.c

applying [1/2] https://inbox.vuxu.org/musl/c166b0a43bfeb6f50b341d752ba0230d42eb08ab.1684932942.git.Jens.Gustedt@inria.fr/
diff --git a/src/string/strchr.c b/src/string/strchr.c
index 3cbc828b..3a86beeb 100644

Checking patch src/string/strchr.c...
Applied patch src/string/strchr.c cleanly.

skipping https://inbox.vuxu.org/musl/a6fc4ae313c0362fadb2db179d781da850995c21.1685541439.git.Jens.Gustedt@inria.fr/ for 3a86beeb
index at:
100644 3a86beebf636e4ab5b4f16ff4c2c8c772dedab59	src/string/strchr.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).