about summary refs log tree commit diff
path: root/src/misc
Commit message (Collapse)AuthorAgeFilesLines
* simplify syslog, add vsyslog interface (nonstandard)Rich Felker2011-04-131-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 syslogRich Felker2011-04-131-9/+0
| | | | per the standard, SIGPIPE is not generated for SOCK_DGRAM.
* fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream)Rich Felker2011-04-131-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.8Rich Felker2011-04-131-4/+16
|
* add ptsname_r (nonstandard) and split ptsname (standard) to separate fileRich Felker2011-04-132-11/+16
| | | | this eliminates the ugly static buffer in programs that use ptsname_r.
* move bswap functions to static inline in byteswap.hRich Felker2011-04-122-16/+0
|
* fix broken bswap_32Rich Felker2011-04-121-1/+1
|
* remove ugly warning-suppression hack from crypt - this invokes UB!Rich Felker2011-04-111-1/+1
|
* fix all implicit conversion between signed/unsigned pointersRich Felker2011-03-251-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 interfaceRich Felker2011-03-208-20/+8
|
* fix compile failure: legacy cuserid needs to define feature testRich Felker2011-02-161-0/+1
|
* fix getrlimit handling on 32-bit systems, and ease porting to 64-bitRich Felker2011-02-151-3/+3
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-1226-0/+3194