summaryrefslogtreecommitdiff
path: root/src/misc
AgeCommit message (Collapse)AuthorLines
2011-04-13simplify syslog, add vsyslog interface (nonstandard)Rich Felker-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...
2011-04-13remove useless SIGPIPE protection from syslogRich Felker-9/+0
per the standard, SIGPIPE is not generated for SOCK_DGRAM.
2011-04-13fix syslog (corrected SIGPIPE blocking, and using dgram instead of stream)Rich Felker-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.
2011-04-13implement getgrouplist (for initgroups), formerly dummied-outv0.7.8Rich Felker-4/+16
2011-04-13add ptsname_r (nonstandard) and split ptsname (standard) to separate fileRich Felker-11/+16
this eliminates the ugly static buffer in programs that use ptsname_r.
2011-04-12move bswap functions to static inline in byteswap.hRich Felker-16/+0
2011-04-12fix broken bswap_32Rich Felker-1/+1
2011-04-11remove ugly warning-suppression hack from crypt - this invokes UB!Rich Felker-1/+1
2011-03-25fix all implicit conversion between signed/unsigned pointersRich Felker-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.
2011-03-20global cleanup to use the new syscall interfaceRich Felker-20/+8
2011-02-16fix compile failure: legacy cuserid needs to define feature testRich Felker-0/+1
2011-02-15fix getrlimit handling on 32-bit systems, and ease porting to 64-bitRich Felker-3/+3
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+3194