summaryrefslogtreecommitdiff
path: root/lib/snprintf.c
AgeCommit message (Collapse)Author
2006-08-11Fix typo in previous checkin: len -> lenbuf.Paul Eggert
2006-08-11(snprintf): memcpy LEN bytes, not SIZE - 1, whenPaul Eggert
LEN is smaller than SIZE. Suggested by Bruno Haible. Also, help the compiler to keep LEN in a register.
2006-08-10Import from gnulib, to support new getaddrinfo implementation of gnulib.Paul Eggert