summaryrefslogtreecommitdiff
path: root/lib/error.c
AgeCommit message (Collapse)Author
2004-10-05Sync from gnulib.Paul Eggert
2004-10-04Sync from gnulib, to remove dependencies of other modules on unlocked-io.Paul Eggert
2004-08-04Work around bug in OpenBSD 3.4 sterror_r: itPaul Eggert
sometimes returns a positive errno value even when it succeeds. (print_errno_message) [!LIBC]: Fall back on strerror if __strerror_r fails.
2003-09-28Update from gnulib.Jim Meyering
2003-09-13(error_tail): Assume vprintf.Jim Meyering
2003-09-10Include error.h first, to check interface.Jim Meyering
Include <stdarg.h>, <stdlib.h>, <string.h> unconditionally. (VA_START): Remove; all uses changeed to va_start. (exit, strerror): Remove decls. (error_print_progname): Prototype uncondionally. Don't include <errno.h>; no longer needed. (private_strerror): Remove. (error_tail): Always define. (error, error_at_line): Assume C89 or better; always use prototypes.
2003-01-20Merge in changes from libcJim Meyering
Eliminate many `#ifdef USE_IN_LIBIO' conditionals.
2002-12-06update copyright from gnulibJim Meyering
2002-11-28Merge some more, in preparation for merge back into libc.Jim Meyering
(_): Define only if not already defined. Move definition to follow all #include directives. Include unlocked-io.h only if !_LIBC.
2002-11-28Merge in changes from libc.Jim Meyering
[_LIBC]: Include <libio/libioP.h>. [USE_IN_LIBIO]: Include <libio/iolibio.h> (fflush): Tweak definition to use INTUSE. (putc): Define.
2002-11-23From gnulib, by Bruno HaibleJim Meyering
Include gettext.h instead of <libintl.h>.
2001-11-17Include unlocked-io.h.Jim Meyering
2001-10-21(strerror_r): Do not declare unless !_LIBC.Jim Meyering
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. Use strerror_r that is only a macro, even if it is not a function. (strerror): Check for HAVE_DECL_STRERROR before declaring. (private_strerror): Use prototypes, not old-style function definition. (print_errno_message): New function. Support the POSIX 'int'-flavored strerror_r, as well as the traditional char*-flavored one. (error_tail, error, error_at_line): Use it.
2001-09-02Update from GNU libc.Jim Meyering
2000-11-11Add a couple #includes, merging from GNU libc version.Jim Meyering
2000-06-24[!HAVE_DECL_STRERROR_R]: Declare strerror_r.Jim Meyering
2000-01-08remove stray define before _LIBCJim Meyering
2000-01-08(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.Jim Meyering
(error_at_line): Likewise.
1999-09-28(error_at_line): Use strerror portably here, too,Jim Meyering
just as was done in error.
1998-11-15(error): Don't use strerror_r's return value.Jim Meyering
1998-03-27new version from UliJim Meyering
1998-03-15update from fsfJim Meyering
1997-02-04libitizeJim Meyering
1996-10-29.Jim Meyering
1996-10-10Use #if, not #ifdef in test for HAVE_CONFIG_H.Jim Meyering
1996-10-09Include error.h to align with libit -- under protest, François :-).Jim Meyering
1996-04-18Indent cpp-directives.Jim Meyering
1996-04-03.Jim Meyering
1996-03-30update from FSF:/home/gd/gnu/libJim Meyering
1996-03-30Update from libc.Jim Meyering
1995-12-15new version from FSFJim Meyering
1995-09-13Fix typo in comment.Jim Meyering
1995-05-20merge with 1.11.1aJim Meyering
1995-03-20.Jim Meyering
1992-11-01Initial revisionJim Meyering