mailing list of musl libc
 help / color / mirror / code / Atom feed
8de060fa1fbb0a5d459bcd360d7858489e12fd69 blob 165 bytes (raw)

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

wint_t btowc(int c)
{
	if (c < 128U) return c;
	if (MB_CUR_MAX==1) return CODEUNIT(c);
	return WEOF;
}
debug log:

solving 8de060f ...
found 8de060f in https://inbox.vuxu.org/musl/20150613070655.GJ17573@brightrain.aerifal.cx/
found 9d2c3b1 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9d2c3b16eb77a4e6df82c31bb4c56d517424a533	src/multibyte/btowc.c

applying [1/1] https://inbox.vuxu.org/musl/20150613070655.GJ17573@brightrain.aerifal.cx/
diff --git a/src/multibyte/btowc.c b/src/multibyte/btowc.c
index 9d2c3b1..8de060f 100644

Checking patch src/multibyte/btowc.c...
Applied patch src/multibyte/btowc.c cleanly.

index at:
100644 8de060fa1fbb0a5d459bcd360d7858489e12fd69	src/multibyte/btowc.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).