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

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

wchar_t *wcsncpy(wchar_t *d, const wchar_t *s, size_t n)
{
	wchar_t *a = d;
	while (n-- && (*d++ = *s++));
	wmemset(d, 0, n);
	return a;
}
debug log:

solving fbd0631 ...
found fbd0631 in https://inbox.vuxu.org/musl/20110523012547.GH6142@port70.net/
found 0164208 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 0164208de648458cd849bd157325690f6349704b	src/string/wcsncpy.c

applying [1/1] https://inbox.vuxu.org/musl/20110523012547.GH6142@port70.net/
diff --git a/src/string/wcsncpy.c b/src/string/wcsncpy.c
index 0164208..fbd0631 100644

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

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