OpenGrok
Cross Reference: perror.c
xref
: /
src
/
lib
/
libc
/
stdio
/
perror.c
Home
|
History
|
Annotate
|
Download
|
only in
stdio
History log of
/src/lib/libc/stdio/perror.c
Revision
Date
Author
Comments
1.24
26-Jan-2006
kleink
Must include "namespace.h" for strerror_r()'s internal name.
1.23
28-Jul-2005
christos
PR/30845: Luke Mewburn: strerror_r(3) missing
- Merge 4.4BSD strerror.3 man page changes that summarize information
for all the error printing functions. This makes the perror(3) page
obsolete.
- Implement all error functions in terms of strerror_r(), including
__strerror() which is not used internally. Can it be removed?
- Bump version for strerror_r
1.22
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
1.21
22-Aug-1999
kleink
No need for "namespace.h".
1.20
09-Mar-1999
kleink
Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;
perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.
1.19
28-Jan-1999
kleink
Per ANSI C, place the error message on the stderr stream rather than on
STDERR_FILENO.
1.18
17-Nov-1998
christos
revert previous change; this reveals another bug in lints LINTED option.
1.17
15-Nov-1998
christos
delint
1.16
09-Sep-1998
kleink
Since perror() must be reentrant, change the storage class of the buffer used
to hold the error message from static to automatic.
1.15
28-Jul-1998
mycroft
Add an internal name for perror(3).
1.14
26-Jul-1998
mycroft
Minor nit.
1.13
26-Jul-1998
mycroft
const poisoning.
1.12
16-Feb-1998
lukem
don't assume buf is NL_TEXTMAX long
1.11
03-Feb-1998
perry
remove obsolete register declarations
1.10
13-Jul-1997
christos
Fix RCSID's
Fix gcc warnings.
Add prototypes for functions that were declared in more than one place
to local.h or extern.h and use that instead.
1.9
23-Jan-1997
mrg
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1.8
02-Feb-1995
jtc
branches: 1.8.2;
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1.7
06-Oct-1994
jtc
Change size of array passed to __strerror() from 128 to NL_TEXTMAX.
1.6
03-Sep-1994
jtc
Increased the size of char buffer used by perror(); the error strings may
be much longer in some locales.
1.5
09-Oct-1993
jtc
Helper function _strerror is in the user's namespace, renamed it to
__strerror().
1.4
07-Oct-1993
jtc
Moved strerror.[c3] from libc/stdio to libc/string.
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1.3
26-Aug-1993
jtc
Declare rcsid strings so they are stored in text segment.
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
02-Feb-1995
jtc
imported from 44lite
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.8.2.1
02-Mar-1995
jtc
#include "namespace.h"
Indexes created Thu Sep 25 08:09:54 GMT 2025