Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid malloc of potentially-large string in wordexp | Rich Felker | 2011-04-19 | 1 | -10/+28 |
| | |||||
* | protect ftw and nftw against cancellation | Rich Felker | 2011-04-18 | 1 | -1/+6 |
| | |||||
* | protect syslog against cancellation | Rich Felker | 2011-04-18 | 1 | -5/+19 |
| | | | | | | these functions are allowed to be cancellation points, but then we would have to install cleanup handlers to avoid termination with locks held. | ||||
* | minimal realpath implementation using /proc | Rich Felker | 2011-04-17 | 1 | -0/+43 |
| | | | | | | | clean and simple, but fails when the caller does not have permissions to open the file for reading or when /proc is not available. i may replace this with a full implementation later, possibly leaving this version as an optimization to use when it works. | ||||
* | remove stupid debug code in wordexp | Rich Felker | 2011-04-15 | 1 | -1/+0 |
| | |||||
* | implement wordexp. first try, may be buggy. intended to be safe. | Rich Felker | 2011-04-15 | 1 | -0/+128 |
| | |||||
* | simplify syslog, add vsyslog interface (nonstandard) | Rich Felker | 2011-04-13 | 1 | -31/+36 |
| | | | | | | | | with datagram sockets, depending on fprintf not to flush the output early was very fragile; the new version simply uses a small fixed-size buffer. it could be updated to dynamic-allocate large buffers if needed, but i can't envision any admin being happy about finding 64kb-long lines in their syslog... | ||||
* | remove useless SIGPIPE protection from syslog | Rich Felker | 2011-04-13 | 1 | -9/+0 |
| | | | | per the standard, SIGPIPE is not generated for SOCK_DGRAM. | ||||
* | fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream) | Rich Felker | 2011-04-13 | 1 | -10/+8 |
| | | | | | | it actually appears the hacks to block SIGPIPE are probably not necessary, and potentially harmful. if i can confirm this, i'll remove them. | ||||
* | implement getgrouplist (for initgroups), formerly dummied-out v0.7.8 | Rich Felker | 2011-04-13 | 1 | -4/+16 |
| | |||||
* | add ptsname_r (nonstandard) and split ptsname (standard) to separate file | Rich Felker | 2011-04-13 | 2 | -11/+16 |
| | | | | this eliminates the ugly static buffer in programs that use ptsname_r. | ||||
* | move bswap functions to static inline in byteswap.h | Rich Felker | 2011-04-12 | 2 | -16/+0 |
| | |||||
* | fix broken bswap_32 | Rich Felker | 2011-04-12 | 1 | -1/+1 |
| | |||||
* | remove ugly warning-suppression hack from crypt - this invokes UB! | Rich Felker | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | fix all implicit conversion between signed/unsigned pointers | Rich Felker | 2011-03-25 | 1 | -2/+2 |
| | | | | | | | sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required. | ||||
* | global cleanup to use the new syscall interface | Rich Felker | 2011-03-20 | 8 | -20/+8 |
| | |||||
* | fix compile failure: legacy cuserid needs to define feature test | Rich Felker | 2011-02-16 | 1 | -0/+1 |
| | |||||
* | fix getrlimit handling on 32-bit systems, and ease porting to 64-bit | Rich Felker | 2011-02-15 | 1 | -3/+3 |
| | |||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 26 | -0/+3194 |