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

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

int wctob(wint_t c)
{
	if (c < 128U) return c;
	if (MB_CUR_MAX==1 && IS_CODEUNIT(c)) return (unsigned char)c;
	return EOF;
}
debug log:

solving 412e3c8 ...
found 412e3c8 in https://inbox.vuxu.org/musl/20150606214007.GA17398@brightrain.aerifal.cx/
found d6353ee in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 d6353ee17935779719cc78eb0e730b0eb0265570	src/multibyte/wctob.c

applying [1/1] https://inbox.vuxu.org/musl/20150606214007.GA17398@brightrain.aerifal.cx/
diff --git a/src/multibyte/wctob.c b/src/multibyte/wctob.c
index d6353ee..412e3c8 100644

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

index at:
100644 412e3c83d690c08c6f4cde3121ad339b21927fde	src/multibyte/wctob.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).