summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.stsp2013-06-011-2/+2
| | | | | | | | | Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available. help & ok matthew, man page bits ok jmc, input from naddy and bluhm
* If NLS is disabled, strerror does not print the correct error string.bluhm2007-03-011-2/+2
| | | | | | No binary change with NLS enabled. ok otto millert espie
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Merge common functionality of __strsignal and strerror_r.otto2005-05-261-28/+48
| | | | ok jaredy@ miod@
* Only append number when it fits to avoid truncation and returnotto2005-05-081-14/+11
| | | | | appropriate error number. ok miod@, millert@ on an earlier version; ok jaredey@
* correct strlcpy abusebeck2005-04-201-4/+8
| | | | ok millert@
* build the error message in strerror_r.c directly, avoiding one copy there.espie2004-05-031-10/+100
| | | | | | | | handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
* Add strerror_r and functions versions of getchar_unlocked andmarc2002-11-211-0/+30
putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@