Commit Graph

4326 Commits

Author SHA1 Message Date
Rich Felker
131b5be2f4 more header cleanup and conformance fixes - locale.h, time.h 2011-02-14 20:45:37 -05:00
Rich Felker
1322cb82a3 header cleanup, conformance fixes - signals 2011-02-14 20:33:54 -05:00
Rich Felker
c316b28445 update various bits headers for new linux additions
based on patch by nik
2011-02-14 20:03:55 -05:00
Rich Felker
6fbf8bfd75 another pointer signedness fix 2011-02-14 19:40:20 -05:00
Rich Felker
a8c17e6587 fix some pointer signedness issues (this was invalid C) 2011-02-14 19:37:01 -05:00
Rich Felker
c247ebdd98 more header fixes, minor warning fix 2011-02-14 19:33:11 -05:00
Rich Felker
5377715ce0 ensure standard functions mk[sd]temp don't depend on removed function mktemp 2011-02-14 19:18:06 -05:00
Rich Felker
c255e5542d put confstr.c with the other conf functions 2011-02-14 19:13:18 -05:00
Rich Felker
e8362c8b51 major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits)
note that object files using sigset_t (or struct sigaction) need to be
recompiled to work correctly after this fix.
2011-02-14 18:45:58 -05:00
Rich Felker
74eea628cf extensive header cleanup for standards conformance & correctness
thanks to Peter Mazinger (psm) for pointing many of these issues out
and submitting a patch on which this commit is loosely based
2011-02-14 18:41:25 -05:00
Rich Felker
80695b1d1e begin namespace-cleanup of standard C headers 2011-02-14 05:10:10 -05:00
Rich Felker
7fe308eb9f use a more-correct integer type, and silence 64-bit warnings as a bonus 2011-02-13 23:38:21 -05:00
Rich Felker
05ea04558f explicitly release crt/* to the public domain 2011-02-13 23:32:01 -05:00
Rich Felker
a130d33cad fixed missing cast in the non-i386 version of shmat (preparation for ports) 2011-02-13 23:26:51 -05:00
Rich Felker
f9d880d258 cleanup multibyte stuff to remove ugly casts, sanitize the ptr align casts 2011-02-13 23:08:18 -05:00
Rich Felker
2cdfb7ca26 cleaning up syscalls in preparation for x86_64 port
- hide all the legacy xxxxxx32 name cruft in syscall.h so the actual
source files can be clean and uniform across all archs.

- cleanup llseek/lseek and mmap2/mmap handling for 32/64 bit systems

- alternate implementation for nice if the target lacks nice syscall
2011-02-13 22:45:42 -05:00
Rich Felker
978ca01659 syscall cleanup for umount2 2011-02-13 21:29:36 -05:00
Rich Felker
a5dec11306 use umount2 syscall for umount (new targets lack old 1-arg umount) 2011-02-13 21:28:43 -05:00
Rich Felker
1a9a2ff7b0 reorganize thread exit code, make pthread_exit call cancellation handlers (pt2) 2011-02-13 19:58:30 -05:00
Rich Felker
50e26f09eb reorganize thread exit code, make pthread_exit call cancellation handlers 2011-02-13 19:50:47 -05:00
Rich Felker
f38c154be2 added missing O_NDELAY 2011-02-13 19:02:57 -05:00
Rich Felker
dc3776d445 fix previous commit that broke sigreturn. looks like the asm is needed. 2011-02-13 19:01:43 -05:00
Rich Felker
6027201e5a ensure that musl is compiled as C99 code & XSI option is available in headers 2011-02-13 16:48:39 -05:00
Rich Felker
e1d8d25a50 fix omission that kept sa_restorer from being used 2011-02-13 16:46:33 -05:00
Rich Felker
0bcbb53dc4 ensure that the compiler doesn't try to reorder around atomic ops 2011-02-12 00:26:24 -05:00
Rich Felker
0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00