summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/__strerror.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* No longer need __strerror(3) now that we use strerror_r() inside libc.millert2004-05-031-46/+0
|
* build the error message in strerror_r.c directly, avoiding one copy there.espie2004-05-031-100/+5
| | | | | | | | 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@.
* let __strerror fill precisely the part of the buffer it can.espie2004-05-011-17/+18
| | | | okay millert@
* Let __strerror work by fixing a number of problems. Work by tholo and I,espie2004-04-301-22/+52
| | | | | | | | okay millert@. - atoi was bogus. - atoi was not reentrant. - there's no reason to cast stuff to unsigned int.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* a few more strlcy; ok from beck & hoderaadt2003-03-131-3/+3
|
* when strerror() has an Unknown error, also set EINVALderaadt2001-12-081-3/+8
|
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-6/+4
|
* nls buffers are NL_TEXTMAX long -- not a security hole; netbsd pr#2780, ↵deraadt1996-09-251-5/+8
| | | | mike.long@analog.com
* Avoid pulling in stdiotholo1996-09-161-4/+20
|
* Remove dead codetholo1996-09-151-2/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* need errno.h because err declerations have movedderaadt1996-01-291-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+92