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

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

wint_t btowc(int c)
{
	if ((unsigned char)c < 128) return (unsigned char)c;
	if (MB_CUR_MAX==1 && c!=EOF) return CODEUNIT(c);
	return WEOF;
}
debug log:

solving a7369a1 ...
found a7369a1 in https://inbox.vuxu.org/musl/20150616043502.GF1173@brightrain.aerifal.cx/
found 29cb798 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 29cb798d2ce2a25cf2eb4e8b5079b80ebfe523a4	src/multibyte/btowc.c

applying [1/1] https://inbox.vuxu.org/musl/20150616043502.GF1173@brightrain.aerifal.cx/
diff --git a/src/multibyte/btowc.c b/src/multibyte/btowc.c
index 29cb798..a7369a1 100644

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

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