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

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

int *__errno_location(void)
{
	return &__pthread_self()->errno_val;
}

weak_alias(__errno_location, ___errno_location)
#ifdef __GNUC__
__attribute__((const))
#endif
;
debug log:

solving b59919c3 ...
found b59919c3 in https://inbox.vuxu.org/musl/20190629212244.42963-3-samuel@sholland.org/
found 7f9d6027 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 7f9d6027a276a0b5574362f0e9aa547fed213523	src/errno/__errno_location.c

applying [1/1] https://inbox.vuxu.org/musl/20190629212244.42963-3-samuel@sholland.org/
diff --git a/src/errno/__errno_location.c b/src/errno/__errno_location.c
index 7f9d6027..b59919c3 100644

Checking patch src/errno/__errno_location.c...
Applied patch src/errno/__errno_location.c cleanly.

index at:
100644 b59919c35d283ba9db6a32dc04583a4771052947	src/errno/__errno_location.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).