mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-17 08:00:32 +00:00
Update Musl Libc code
We now have implement all of Musl's localization code, the same way that Musl implements localization. You may need setlocale(LC_ALL, "C.UTF-8"), just in case anything stops working as expected.
This commit is contained in:
parent
d0360bf4bd
commit
bb815eafaf
116 changed files with 6525 additions and 5523 deletions
|
@ -69,6 +69,8 @@ enum PosixThreadStatus {
|
|||
|
||||
#define POSIXTHREAD_CONTAINER(e) DLL_CONTAINER(struct PosixThread, list, e)
|
||||
|
||||
typedef struct __locale_struct *locale_t;
|
||||
|
||||
struct PosixThread {
|
||||
int pt_flags; // 0x00: see PT_* constants
|
||||
atomic_int pt_canceled; // 0x04: thread has bad beliefs
|
||||
|
@ -86,6 +88,7 @@ struct PosixThread {
|
|||
uint64_t pt_blkmask;
|
||||
int64_t pt_semaphore;
|
||||
intptr_t pt_iohandle;
|
||||
locale_t pt_locale;
|
||||
void *pt_ioverlap;
|
||||
jmp_buf pt_exiter;
|
||||
pthread_attr_t pt_attr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue