- 22 11月, 2012 1 次提交
-
-
由 Rich Felker 提交于
unlike the previous definition, NSIG/_NSIG is supposed to be one more than the highest signal number. adding this will allow simplifying libc-internal code that makes signal-related syscalls, which can be done as a later step. some apps might use it too; while this usage is questionable, it's at least not insane.
-
- 08 9月, 2012 1 次提交
-
-
由 Rich Felker 提交于
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.
-
- 07 9月, 2012 1 次提交
-
-
由 Rich Felker 提交于
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.
-
- 13 7月, 2012 2 次提交
-
-
由 Rich Felker 提交于
this fix is easier than trying to reorder the header stuff
-
由 Rich Felker 提交于
signal handling was very broken because of this
-
- 23 5月, 2012 2 次提交
-
-
由 Rich Felker 提交于
its only purpose was for use on non-BSD systems that implement sysv semantics for signal() by default.
-
由 Rich Felker 提交于
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible.
-
- 14 4月, 2012 1 次提交
-
-
由 Rich Felker 提交于
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.
-
- 26 1月, 2012 1 次提交
-
-
由 Rich Felker 提交于
-
- 22 9月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 20 9月, 2011 3 次提交
-
-
由 Rich Felker 提交于
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.
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
-
- 12 9月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 03 9月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 17 6月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 06 5月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 13 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 30 3月, 2011 1 次提交
-
-
由 Rich Felker 提交于
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.
-
- 20 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 17 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 16 2月, 2011 2 次提交
-
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
-
- 15 2月, 2011 2 次提交
-
-
由 Nicholas J. Kain 提交于
-
由 Rich Felker 提交于
-
- 12 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-