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

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

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

solving dc088a2 ...
found dc088a2 in https://inbox.vuxu.org/musl/20150606214007.GA17398@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/20150606214007.GA17398@brightrain.aerifal.cx/
diff --git a/src/multibyte/btowc.c b/src/multibyte/btowc.c
index 9d2c3b1..dc088a2 100644

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

index at:
100644 dc088a2f46ccc19dc2cc3ee516cd5d0b2dbc2f0f	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).