Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2011-02-20 | shave off 2 bytes from crt1.o _start | Rich Felker | 1 | -2/+2 | |
2011-02-20 | cleanup asprintf stuff | Rich Felker | 2 | -2/+2 | |
2011-02-20 | prototypes for GNU asprintf/vasprintf | Rich Felker | 1 | -0/+2 | |
2011-02-20 | fix %n specifier, again. this time it was storing the wrong value. | Rich Felker | 1 | -7/+7 | |
2011-02-20 | include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined | Rich Felker | 1 | -0/+1 | |
2011-02-20 | fix typo in inotify structure | Rich Felker | 1 | -1/+1 | |
2011-02-20 | make malloc(0) return unique pointers rather than NULL | Rich Felker | 2 | -6/+10 | |
this change is made with some reluctance, but i think it's for the best. correct programs must handle either behavior, so there is little advantage to having malloc(0) return NULL. and i managed to actually make the malloc code slightly smaller with this change. | |||||
2011-02-20 | fix simple_malloc malloc(0) behavior not to return non-unique pointers | Rich Felker | 1 | -0/+1 | |
2011-02-20 | fix simple_malloc size restrictions | Rich Felker | 1 | -5/+6 | |
do not allow allocations that overflow ptrdiff_t; fix some overflow checks that were not quite right but didn't matter due to address layout implementation. | |||||
2011-02-20 | fix null pointer dereference introduced in last sigprocmask commit | Rich Felker | 1 | -1/+1 | |
2011-02-20 | make real symbols for the legacy (nonstandardized) utmp functions | Rich Felker | 2 | -6/+23 | |
this is needed in the long term for ABI compatibility anyway, and in the immediate, it helps with building broken programs like GNU screen that try to prototype the functions themselves rather than using the header. | |||||
2011-02-20 | resolve some header namespace non-issues | Rich Felker | 2 | -3/+0 | |
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct reserved namespaces and do not need protection. | |||||
2011-02-20 | move the GNU siginfo renaming so it doesn't lead to mismatching names | Rich Felker | 1 | -1/+4 | |
2011-02-20 | fill in some missing siginfo stuff in signal.h | Rich Felker | 2 | -10/+112 | |
2011-02-20 | make sys/param.h not depend on PATH_MAX and NAME_MAX | Rich Felker | 1 | -2/+2 | |
this is a nonstandard header used only by backwards programs, but for some reason it's extremely popular. the recent namespace cleanup fixes broke it, because PATH_MAX and NAME_MAX will not be defined unless an approriate feature test macro has been defined. moreover, it's too late to just #define _GNU_SOURCE in param.h, since limits.h may have already been included. let's just hard-code standard values and be done with it. |