aboutsummaryrefslogtreecommitdiffstats
path: root/lib/error.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-339/+0
2006-08-09Sync from gnulib.Paul Eggert1-39/+74
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2005-01-22Sync from gnulib.Paul Eggert1-4/+2
2004-10-05Sync from gnulib.Paul Eggert1-1/+1
2004-10-04Sync from gnulib, to remove dependencies of other modules on unlocked-io.Paul Eggert1-1/+1
2004-08-04Work around bug in OpenBSD 3.4 sterror_r: itPaul Eggert1-7/+3
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 Meyering1-30/+47
2003-09-13(error_tail): Assume vprintf.Jim Meyering1-8/+3
2003-09-10Include error.h first, to check interface.Jim Meyering1-108/+17
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 Meyering1-29/+11
Eliminate many `#ifdef USE_IN_LIBIO' conditionals.
2002-12-06update copyright from gnulibJim Meyering1-14/+10
2002-11-28Merge some more, in preparation for merge back into libc.Jim Meyering1-2/+8
(_): 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 Meyering1-1/+4
[_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 Meyering1-6/+7
Include gettext.h instead of <libintl.h>.
2001-11-17Include unlocked-io.h.Jim Meyering1-0/+1
2001-10-21(strerror_r): Do not declare unless !_LIBC.Jim Meyering1-48/+51
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 Meyering1-46/+167
2000-11-11Add a couple #includes, merging from GNU libc version.Jim Meyering1-1/+9
2000-06-24[!HAVE_DECL_STRERROR_R]: Declare strerror_r.Jim Meyering1-0/+7
2000-01-08remove stray define before _LIBCJim Meyering1-1/+1
2000-01-08(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.Jim Meyering1-2/+10
(error_at_line): Likewise.
1999-09-28(error_at_line): Use strerror portably here, too,Jim Meyering1-2/+5
just as was done in error.
1998-11-15(error): Don't use strerror_r's return value.Jim Meyering1-1/+4
1998-03-27new version from UliJim Meyering1-35/+36
1998-03-15update from fsfJim Meyering1-22/+54
1997-02-04libitizeJim Meyering1-1/+2
1996-10-29.Jim Meyering1-2/+2
1996-10-10Use #if, not #ifdef in test for HAVE_CONFIG_H.Jim Meyering1-12/+12
1996-10-09Include error.h to align with libit -- under protest, François :-).Jim Meyering1-0/+3
1996-04-18Indent cpp-directives.Jim Meyering1-10/+10
1996-04-03.Jim Meyering1-13/+13
1996-03-30update from FSF:/home/gd/gnu/libJim Meyering1-15/+78
1996-03-30Update from libc.SH-UTILS-1_12gJim Meyering1-20/+37
1995-12-15new version from FSFJim Meyering1-4/+8
1995-09-13Fix typo in comment.Jim Meyering1-1/+1
1995-05-20merge with 1.11.1aJim Meyering1-1/+6
1995-03-20.Jim Meyering1-44/+60
1992-11-01Initial revisionJim Meyering1-0/+105