mailing list of musl libc
 help / color / mirror / code / Atom feed
f86dce8ef987bdb6331219acf4b1984461cf0dc2 blob 189 bytes (raw)

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

size_t __strscpy(char *, const char *, size_t);

char *strncat(char *restrict d, const char *restrict s, size_t n)
{
	__strscpy(d + strlen(d), s, n + 1);

	return d;
}
debug log:

solving f86dce8e ...
found f86dce8e in https://inbox.vuxu.org/musl/20170715195541.3136-4-nwmcsween@gmail.com/
found 01ca2a23 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 01ca2a2317c6f29ecc1289e94b76b72c69698ea8	src/string/strncat.c

applying [1/1] https://inbox.vuxu.org/musl/20170715195541.3136-4-nwmcsween@gmail.com/
diff --git a/src/string/strncat.c b/src/string/strncat.c
index 01ca2a23..f86dce8e 100644

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

index at:
100644 f86dce8ef987bdb6331219acf4b1984461cf0dc2	src/string/strncat.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).