mailing list of musl libc
 help / color / mirror / code / Atom feed
240e83edffeff2baee8104cbbe031fc713f68477 blob 259 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#include <libintl.h>
#include <string.h>
#include <strings.h>
#include <errno.h>

char *bind_textdomain_codeset(const char *domainname, const char *codeset)
{
	if (codeset && strcasecmp(codeset, "UTF-8")) {
		errno = EINVAL;
		return 0;
	}
	return "UTF-8";
}
debug log:

solving 240e83e ...
found 240e83e in https://inbox.vuxu.org/musl/20161230222237.GR1555@brightrain.aerifal.cx/
found 5ebfd5e in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 5ebfd5e8a818fd1c1194116f14b17bdadbc8f473	src/locale/bind_textdomain_codeset.c

applying [1/1] https://inbox.vuxu.org/musl/20161230222237.GR1555@brightrain.aerifal.cx/
diff --git a/src/locale/bind_textdomain_codeset.c b/src/locale/bind_textdomain_codeset.c
index 5ebfd5e..240e83e 100644

Checking patch src/locale/bind_textdomain_codeset.c...
Applied patch src/locale/bind_textdomain_codeset.c cleanly.

index at:
100644 240e83edffeff2baee8104cbbe031fc713f68477	src/locale/bind_textdomain_codeset.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).