Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-07 | default features: make musl usable without feature test macros | Rich Felker | 1 | -5/+1 | |
the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change. | |||||
2012-09-06 | use restrict everywhere it's required by c99 and/or posix 2008 | Rich Felker | 1 | -7/+13 | |
to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict. | |||||
2012-07-12 | fix redef of sigprocmask constants on mips | Rich Felker | 1 | -2/+0 | |
this fix is easier than trying to reorder the header stuff | |||||
2012-07-12 | more mips bits-header fixes | Rich Felker | 1 | -0/+2 | |
signal handling was very broken because of this | |||||
2012-05-22 | bsd_signal is a legacy (removed) XSI function, not needed in _BSD_SOURCE | Rich Felker | 1 | -4/+1 | |
its only purpose was for use on non-BSD systems that implement sysv semantics for signal() by default. | |||||
2012-05-22 | support _BSD_SOURCE feature test macro | Rich Felker | 1 | -2/+10 | |
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible. | |||||
2012-04-13 | rename __sa_restorer to sa_restorer in struct sigaction | Rich Felker | 1 | -1/+1 | |
this is legal since sa_* is in the reserved namespace for signal.h, per posix. note that the sa_restorer field is not used anywhere, so programs that are trying to use it may still break, but at least they'll compile. if it turns out such programs actually need to be able to set their own sa_restorer to function properly, i'll add the necessary code to sigaction.c later. | |||||
2012-01-25 | fix typo in FPE_FLTUND definition, signal.h | Rich Felker | 1 | -1/+1 | |
2011-09-21 | fix missing SIG_DFL, SIG_IGN, SIG_ERR without posix in signal.h | Rich Felker | 1 | -5/+6 | |
2011-09-20 | fix broken siginfo_t with _GNU_SOURCE defined | Rich Felker | 1 | -6/+5 | |
this bug was introduced in a recent patch. the problem we're working around is that broken GNU software wants to use "struct siginfo" rather than "siginfo_t", but "siginfo" is not in the reserved namespace and thus not legal for the standard header to use. | |||||
2011-09-19 | add some more siginfo aliases broken software expects... | Rich Felker | 1 | -0/+2 | |
2011-09-19 | cleanup redundancy in bits/signal.h versions | Rich Felker | 1 | -4/+108 | |
2011-09-12 | implement gnu sigisemptyset | Rich Felker | 1 | -0/+1 | |
2011-09-02 | fix missing prototypes/wrong signature for psiginfo, psignal | Rich Felker | 1 | -0/+3 | |
2011-06-16 | fix some struct padding to match LSB/glibc ABI where it may be helpful | Rich Felker | 1 | -0/+1 | |
2011-05-05 | add SA_NOMASK alias for SA_NODEFER with _GNU_SOURCE | Rich Felker | 1 | -0/+1 | |
2011-04-13 | fix incorrect GNU sighandler_t typedef | Rich Felker | 1 | -1/+1 | |
2011-03-29 | implement POSIX timers | Rich Felker | 1 | -6/+16 | |
this implementation is superior to the glibc/nptl implementation, in that it gives true realtime behavior. there is no risk of timer expiration events being lost due to failed thread creation or failed malloc, because the thread is created as time creation time, and reused until the timer is deleted. | |||||
2011-02-20 | move the GNU siginfo renaming so it doesn't lead to mismatching names | Rich Felker | 1 | -1/+4 | |
2011-02-16 | some gnu software wrongly uses "struct siginfo" instead of siginfo_t... | Rich Felker | 1 | -0/+1 | |
2011-02-15 | fix broken signal.h from header cleanup | Rich Felker | 1 | -2/+2 | |
2011-02-15 | fix some type leakage (timer_t) from x86_64 commit | Rich Felker | 1 | -1/+0 | |
2011-02-15 | Port musl to x86-64. One giant commit! | Nicholas J. Kain | 1 | -0/+1 | |
2011-02-14 | header cleanup, conformance fixes - signals | Rich Felker | 1 | -13/+19 | |
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | 1 | -0/+98 | |