Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-05-22 | some feature test fixes for unistd.h | Rich Felker | 1 | -16/+16 | |
2012-05-22 | fix missing _BSD_SOURCE support in bits/*.h | Rich Felker | 9 | -12/+12 | |
this is actually rather ugly, and would get even uglier if we ever want to support further feature test macros. at some point i may factor the bits headers into separate files for C base, POSIX base, and nonstandard extensions (the only distinctions that seem to matter now) and then the logic for which to include can go in the main header rather than being duplicated for each arch. the downside of this is that it would result in more files having to be opened during compilation, so as long as the ugliness does not grow, i'm inclined to leave it alone for now. | |||||
2012-05-22 | _GNU_SOURCE implies all BSD features except ones GNU rejects | Rich Felker | 1 | -1/+1 | |
2012-05-22 | various header cleanups, some related to _BSD_SOURCE addition | Rich Felker | 3 | -17/+9 | |
there is no reason to avoid multiple identical macro definitions; this is perfectly legal C, and even with the maximal warning options enabled, gcc does not issue any warning for it. | |||||
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 | 22 | -41/+126 | |
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible. | |||||
2012-05-21 | fix typo in utimes function that made it mess up file times | Rich Felker | 1 | -1/+1 | |
2012-05-21 | fix out-of-bounds array access in pthread barriers on 64-bit | Rich Felker | 1 | -1/+1 | |
it's ok to overlap with integer slot 3 on 32-bit because only slots 0-2 are used on process-local barriers. | |||||
2012-05-20 | move getpass decl to the right place | Rich Felker | 2 | -1/+1 | |
2012-05-16 | fix misplaced semicolon in preprocessor directive (#undef h_errno) | Rich Felker | 1 | -1/+1 | |
2012-05-14 | yet another try to get the check for gcc right... | Rich Felker | 1 | -1/+1 | |
2012-05-14 | fix error in last configure change (lack of escaping) | Rich Felker | 1 | -1/+1 | |
2012-05-14 | useless lastlog path just to make some stuff happy | Rich Felker | 1 | -0/+1 | |
2012-05-14 | missing limit LOGIN_NAME_MAX | Rich Felker | 1 | -0/+1 | |
2012-05-13 | correct the check for gcc (previous version failed for cross compilers) | Rich Felker | 1 | -1/+1 | |
2012-05-13 | remove some no-op end of string tests from regex parser | Rich Felker | 1 | -4/+0 | |
these are cruft from the original code which used an explicit string length rather than null termination. i blindly converted all the checks to null terminator checks, without noticing that in several cases, the subsequent switch statement would automatically handle the null byte correctly. | |||||
2012-05-13 | another BRE fix: in ^*, * is literal | Rich Felker | 1 | -0/+2 | |
i don't understand why this has to be conditional on being in BRE mode, but enabling this code unconditionally breaks a huge number of ERE test cases. | |||||
2012-05-13 | let sysconf accurately report # of cpus available | Rich Felker | 1 | -2/+10 | |
i've been trying out openmp and it seems like it won't be much use without this... | |||||
2012-05-12 | use __h_errno_location for h_errno | Rich Felker | 3 | -1/+14 | |
we do not bother making h_errno thread-local since the only interfaces that use it are inherently non-thread-safe. but still use the potentially-thread-local ABI to access it just to avoid lock-in. | |||||
2012-05-12 | susv4 removed gethostbyname, etc. legacy cruft. | Rich Felker | 1 | -9/+7 | |
2012-05-12 | namespace cleanup - NI_* is NOT reserved by netdb.h | Rich Felker | 1 | -3/+2 | |
2012-05-12 | some gnu junk in netdb.h | Rich Felker | 1 | -0/+8 | |
2012-05-12 | fix missing va_list for vsyslog | Rich Felker | 1 | -2/+2 | |
2012-05-13 | search: add comments to tsearch_avl.c | nsz | 1 | -0/+6 | |
2012-05-13 | search: add tdestroy (gnu extension) | nsz | 2 | -0/+23 | |
2012-05-11 | add missing IN6_ARE_ADDR_EQUAL | Rich Felker | 1 | -0/+5 | |
written to avoid multiple conditional jumps and avoid ugly repetitive lines in the header file. |