mailing list of musl libc
 help / color / mirror / code / Atom feed
e5f3f52d2a04b345ce9b64b0dfad58b6246ba984 blob 327 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") == 0) || (strcasecmp(codeset, "UTF8") == 0))) {
		return "UTF-8";
	} else if (codeset)
		errno = EINVAL;
	return NULL;
}
debug log:

solving e5f3f52 ...
found e5f3f52 in https://inbox.vuxu.org/musl/0b0335bc-f4da-b345-bf19-aabce9a0be93@gmail.com/
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/0b0335bc-f4da-b345-bf19-aabce9a0be93@gmail.com/
diff --git a/src/locale/bind_textdomain_codeset.c b/src/locale/bind_textdomain_codeset.c
index 5ebfd5e..e5f3f52 100644

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

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