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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#include "locale_impl.h"
#include "pthread_impl.h"
#include "libc.h"

locale_t __uselocale(locale_t l)
{
	pthread_t self = pthread_self();
	locale_t old = self->locale;
	if (l) self->locale = l;
	return old;
}

weak_alias(__uselocale, uselocale);
debug log:

solving a1405c5 ...
found a1405c5 in https://inbox.vuxu.org/musl/20120722183201.11fe567e@newbook/
found 9c79957 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9c7995783d24869d118d7f1a5ab7cd295aeacc0d	src/locale/uselocale.c

applying [1/1] https://inbox.vuxu.org/musl/20120722183201.11fe567e@newbook/
diff --git a/src/locale/uselocale.c b/src/locale/uselocale.c
index 9c79957..a1405c5 100644

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

index at:
100644 a1405c515160a1be067555a56e53dda717430727	src/locale/uselocale.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).