|
1936bcb2
|
2003-09-28T08:09:13
|
|
Correct cpp indentation.
|
|
22c1c15d
|
2003-09-27T14:30:57
|
|
(error_tail): Don't cast alloca to (void *); it's already (void *).
|
|
30a788ee
|
2003-09-27T05:11:56
|
|
* error.c (error_tail): Move some declarations
into inner scope where the local variables are used.
|
|
cd6df927
|
2003-09-26T07:41:40
|
|
(SIZE_MAX) [!defined SIZE_MAX]: Define.
(error_tail): Do not loop, reallocating temporary buffer, since
the original size is big enough. This avoids one potential size
overflow calculation. Check for size overflow when calculating
temporary buffer size. Free temporary buffer when done, if
it was allocated with malloc; this closes a memory leak.
|
|
2fee8e22
|
2003-09-26T07:35:01
|
|
Merge changes from glibc.
|
|
c5467a5a
|
2003-09-12T19:47:20
|
|
Assume vprintf.
|
|
bc304cd4
|
2003-09-10T08:33:11
|
|
Correct indentation of cpp directives.
|
|
9ecb5288
|
2003-09-08T23:26:06
|
|
Remove K&R cruft.
|
|
85182137
|
2003-08-04T22:46:12
|
|
[!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is 1.
This merges changes from glibc (merge done by Jim Meyering for coreutils).
|
|
88cade9d
|
2002-12-06T08:08:13
|
|
Be consistent: change `#ifndef _LIBC' to `#if !_LIBC'.
|
|
ccd26a7b
|
2002-12-06T08:00:45
|
|
Merge in changes from libc's misc/error.c, in preparation
for the merge of gnulib's changes back into libc.
(_): Define only if not already defined.
Move definition to follow all #include directives.
Include unlocked-io.h only if !_LIBC.
[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.
|
|
b7476078
|
2002-11-25T00:17:33
|
|
change license to gpl.
|
|
ca45c1dd
|
2002-11-23T15:07:14
|
|
Add copyright date of 2002.
|
|
f9fa25dc
|
2002-11-05T21:45:29
|
|
Include gettext.h instead of <libintl.h> with #ifdefs.
|
|
92f1833a
|
2001-11-17T13:29:42
|
|
Include unlocked-io.h.
|
|
e5bf94ff
|
2001-10-21T07:59:04
|
|
(strerror_r): Do not declare unless !_LIBC.
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.
|
|
0a3f1560
|
2001-09-02T13:22:25
|
|
Update from GNU libc.
|
|
f534d0f5
|
2000-11-11T14:32:00
|
|
Add a couple #includes, merging from GNU libc version.
|
|
067a83f1
|
2000-06-24T12:01:03
|
|
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
|
|
eb0bfaed
|
2000-01-08T17:53:35
|
|
remove stray define before _LIBC
|
|
3e633964
|
2000-01-08T16:44:19
|
|
(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.
(error_at_line): Likewise.
|
|
6e93b42a
|
1999-09-28T14:48:43
|
|
(error_at_line): Use strerror portably here, too,
just as was done in error.
|
|
82a4c5fa
|
1998-11-15T17:35:34
|
|
(error): Don't use strerror_r's return value.
|
|
9e096f5f
|
1998-03-27T11:23:07
|
|
new version from Uli
|
|
35f70728
|
1998-03-15T08:11:02
|
|
update from fsf
|
|
729a4169
|
1997-02-04T03:26:31
|
|
libitize
|
|
552dcada
|
1996-10-29T13:47:56
|
|
.
|
|
a76c51d1
|
1996-10-10T02:50:37
|
|
Use #if, not #ifdef in test for HAVE_CONFIG_H.
|
|
045e7cae
|
1996-10-09T02:33:18
|
|
Include error.h to align with libit -- under protest, François :-).
|
|
9243fffe
|
1996-04-18T23:02:17
|
|
Indent cpp-directives.
|
|
0a3a4d1e
|
1996-04-03T12:33:23
|
|
.
|
|
36ffc38f
|
1996-03-30T14:26:16
|
|
update from FSF:/home/gd/gnu/lib
|
|
533ec87b
|
1996-03-30T12:39:36
|
|
Update from libc.
|
|
f88e233c
|
1995-12-15T15:35:15
|
|
new version from FSF
|
|
4ad1794b
|
1995-09-13T13:15:35
|
|
Fix typo in comment.
|
|
b80c3874
|
1995-05-20T13:28:24
|
|
merge with 1.11.1a
|
|
1f086202
|
1995-03-20T14:26:41
|
|
.
|
|
43e78b97
|
1992-11-01T05:44:30
|
|
Initial revision
|