|
346d5dc0
|
2003-11-13T07:19:08
|
|
Remove dependency of xalloc.h on SIZE_MAX and PTRDIFF_MAX.
|
|
4ef9d1e8
|
2003-11-13T05:17:20
|
|
xstrtol.c (__xstrtol): Remove "break" immediately after
"return", to pacify some unknown compiler. Problem reported
by Joerg Schilling.
|
|
8224e300
|
2003-11-11T11:58:42
|
|
Rely on SIZE_MAX and PTRDIFF_MAX as defined by ISO C 99.
|
|
17e0f9ee
|
2003-11-10T23:55:49
|
|
Fix off-by-one error in xalloc_oversized.
|
|
96257537
|
2003-11-06T19:40:49
|
|
Reject allocations of exactly SIZE_MAX bytes.
|
|
be120916
|
2003-11-05T11:36:58
|
|
Solaris portability problem.
|
|
a1d462a3
|
2003-11-04T12:06:35
|
|
Use xsize.
|
|
bf5c2a54
|
2003-11-04T12:06:16
|
|
New module 'xsize'.
|
|
426c2287
|
2003-11-03T20:47:02
|
|
Use waitid if possible.
|
|
99161421
|
2003-11-03T15:04:39
|
|
*** empty log message ***
|
|
c569c34b
|
2003-11-03T15:04:21
|
|
new file
|
|
4567197d
|
2003-11-03T15:03:24
|
|
Include "userspec.h".
|
|
d0ac4f23
|
2003-11-01T06:00:45
|
|
Catch size calculation overflow problem on Alphas running OSF/1.
Fix malloc FIXME in mountlist.c.
|
|
d0f35a76
|
2003-10-31T14:06:59
|
|
*hash.c: Include "xalloc.h" for use of xalloc_oversized.
|
|
e7e59650
|
2003-10-31T14:06:36
|
|
Include "xalloc.h" for use of xalloc_oversized.
|
|
f1c39aa3
|
2003-10-31T13:53:37
|
|
* linebuffer.c: Include <string.h> for declaration of memset.
|
|
3aa5630a
|
2003-10-31T13:53:15
|
|
Include <string.h> for declaration of memset.
|
|
e9892606
|
2003-10-30T14:09:04
|
|
Check for overflow when converting from size_t to 'int'.
|
|
25c83b47
|
2003-10-30T13:52:10
|
|
Add comment.
|
|
fdb6eb33
|
2003-10-30T06:33:39
|
|
Revamp xalloc_oversized so that its count arg need not fit into size_t.
Fix up group-member, quotearg accordingly.
|
|
0c0be7e5
|
2003-10-30T00:36:03
|
|
Simplify the code by using new xalloc.h features.
|
|
b203ee00
|
2003-10-29T17:35:16
|
|
Log xrealloc -> free+xmalloc changes for getgroups, quotearg.
|
|
3105da51
|
2003-10-29T17:33:05
|
|
(quotearg_n_options): Use free/xmalloc rather than xrealloc.
Use a simpler test for size overflow. Don't use xalloc_oversized
because unsigned int might be wider than size_t (!); this suggests
that we should switch from unsigned int to size_t for slot numbers.
|
|
d67c6629
|
2003-10-29T17:27:58
|
|
(getgroups): Don't use xrealloc, since we don't need the buffer
preserved. Use free and xmalloc instead.
|
|
0beb889f
|
2003-10-27T13:58:34
|
|
Improved support for BeOS: Avoid compilation error if <sys/socket.h>
is included after <stdbool.h>.
|
|
78248aae
|
2003-10-27T08:41:23
|
|
Modify exclude.c to use new xalloc primitives, for simplicity.
|
|
ecc43f7c
|
2003-10-27T08:11:09
|
|
xalloc.h now uses inline, so includers need to configure this.
|
|
2250641d
|
2003-10-27T08:00:26
|
|
New function xalloc_oversized.
|
|
57bc22e6
|
2003-10-27T07:28:24
|
|
Add x2realloc, x2nrealloc. Port to C99 inline.
|
|
d5ebcf30
|
2003-10-27T07:12:11
|
|
(alloca): xmalloc cannot return NULL, so don't test for that.
|
|
c31c5f30
|
2003-10-26T00:14:40
|
|
Fix several address-calculation bugs in the hash modules,
plus some minor code cleanup.
|
|
7a6310aa
|
2003-10-22T16:26:00
|
|
Meyers -> Myers
|
|
1af434e7
|
2003-10-22T05:53:05
|
|
(getndelim2): When size calculation overflows,
ceiling the allocation at NMAX bytes.
|
|
19e15828
|
2003-10-22T05:10:04
|
|
Merge changes from glibc obstack; minor cleanups to make it easier to
merge back in the future.
|
|
ff0ca1ea
|
2003-10-22T01:02:47
|
|
Don't use lvalue casts, as GCC plans to remove support for them in GCC 3.5.
|
|
5150a50d
|
2003-10-20T11:03:53
|
|
New module 'wait-process'.
|
|
8ad6a4a3
|
2003-10-20T10:51:59
|
|
Portability to HP-UX 10, found by Jim Meyering.
|
|
11312bf3
|
2003-10-16T07:34:14
|
|
getgroups.c: minor fixups.
|
|
d84291b2
|
2003-10-16T07:30:56
|
|
Include <errno.h>, <stdlib.h>.
(getgroups): First arg is int, not size_t.
Don't let 'free' mangle errno.
|
|
4353e9f3
|
2003-10-16T07:06:57
|
|
.
|
|
28d52bab
|
2003-10-16T07:06:25
|
|
Include <string.h>, for declarations of memset and memcpy.
|
|
02034062
|
2003-10-16T06:56:14
|
|
Fix address-arithmetic and alloca bugs in fnmatch.
exclude.c cleanups.
|
|
b01279bf
|
2003-10-16T06:51:24
|
|
Check for address arithmetic overflow.
Do not alloca huge buffers.
|
|
6942bbb5
|
2003-10-16T05:26:15
|
|
Do not include <inttypes.h> or <stdint.h>.
(SIZE_MAX): Remove.
(new_exclude, add_exclude_file): Initial size no longer needs to
be a power of 2.
(add_exclude, add_exclude_file): Use xnrealloc instead of rolling
our own address arithmetic overflow checking.
|
|
790855e1
|
2003-10-14T20:08:25
|
|
Handle invalid suffixes and overflow independently, so that
callers can treat them independently as needed. Fix some bugs in
suffix handling.
|
|
2220ef77
|
2003-10-14T12:09:12
|
|
Improved 'fatal-signal' module.
|
|
e970fbf9
|
2003-10-13T06:07:10
|
|
Revamp xalloc interface so that it can check for address arithmetic overflow.
|
|
64d6ea0a
|
2003-10-08T20:34:54
|
|
Merge getpass from libc, plus a few fixes.
|
|
a0c488d1
|
2003-10-06T20:32:36
|
|
Remove version-etc-2 module.
|
|
1bd3e749
|
2003-10-06T20:30:17
|
|
Merge version-etc-2 back into version-etc: Better way to internationalize
the "Written by ..." sentence.
|
|
40b33d9d
|
2003-10-06T12:50:11
|
|
New module 'fatal-signal'.
|
|
f81666cf
|
2003-10-04T12:28:06
|
|
argp update from libc
|
|
943147ea
|
2003-10-01T11:11:02
|
|
Don't echo the password on Solaris, HP-UX, AIX, OSF/1.
|
|
a802e7b9
|
2003-09-30T06:11:03
|
|
* strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.
|
|
050b8b14
|
2003-09-28T08:09:34
|
|
.
|
|
1936bcb2
|
2003-09-28T08:09:13
|
|
Correct cpp indentation.
|
|
dca1eba1
|
2003-09-27T22:36:10
|
|
Omit the special code that used __typeof__ for MIN and MAX,
since we worry that it could be more trouble than it's worth.
|
|
265465e1
|
2003-09-27T16:13:48
|
|
Add 'free' module.
|
|
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.
|
|
55da53d0
|
2003-09-26T15:25:30
|
|
Better handling of collision with AIX stpncpy() function.
|
|
52f70a4b
|
2003-09-26T07:43:06
|
|
Document recent checkins.
|
|
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.
|
|
b3b35365
|
2003-09-25T12:21:19
|
|
updates from libc,automake
|
|
599fe666
|
2003-09-25T12:01:28
|
|
New module 'version-etc-2'.
|
|
da12e5f2
|
2003-09-25T11:01:25
|
|
Fix comment.
|
|
e7039330
|
2003-09-25T10:48:39
|
|
Return -1/EINVAL when the buffer is too small.
|
|
1ac8626a
|
2003-09-25T10:41:15
|
|
New modules 'xgetdomainname'.
|
|
9859974c
|
2003-09-25T10:20:46
|
|
New module 'getdomainname'.
|
|
51c80946
|
2003-09-24T21:09:18
|
|
Add xgethostname.h.
|
|
b5f4d75d
|
2003-09-24T20:56:42
|
|
(freebuffer): Don't free the argument, just the buffer associated with
the argument. Bug reported by Simon Josefsson.
|
|
df308e3f
|
2003-09-21T13:33:24
|
|
.
|
|
54b9ccdb
|
2003-09-19T13:21:16
|
|
argp.h update from libc
|
|
5dc4737c
|
2003-09-17T12:46:33
|
|
Comment about the validity of errno.
|
|
73bb09bd
|
2003-09-16T20:00:38
|
|
linebuffer.c (readlinebuffer): Return NULL immediately upon input error.
|
|
824046ca
|
2003-09-15T22:34:18
|
|
Don't trash errno when a read fails.
|
|
96a66d44
|
2003-09-15T19:15:22
|
|
New module 'fwriteerror'.
|
|
0c52abb3
|
2003-09-13T22:14:56
|
|
.
|
|
fc94ea46
|
2003-09-13T22:14:02
|
|
.
|
|
cd374e11
|
2003-09-13T22:13:36
|
|
Correct cpp indentation.
|
|
de436cfd
|
2003-09-12T22:38:25
|
|
More changes, mostly C89 related.
|
|
dd26fd84
|
2003-09-12T20:22:47
|
|
(LOCALE_PARAM_PROTO): Renamed from LOCALE_PARAM_DECL, for consistency
with glibc.
|
|
1d31a1e7
|
2003-09-12T20:14:10
|
|
Use "exit.h" rather than rolling EXIT_FAILURE ourselves in each module.
|
|
c5467a5a
|
2003-09-12T19:47:20
|
|
Assume vprintf.
|
|
addf390d
|
2003-09-12T19:22:07
|
|
Remove K&R cruft.
|
|
14ab035d
|
2003-09-12T18:28:18
|
|
(getenv): Remove decl.
|
|
fa9635f2
|
2003-09-12T18:24:51
|
|
Remove K&R cruft.
|
|
a8b7e766
|
2003-09-11T09:21:41
|
|
Fix ChangeLog entry.
|
|
76c82bff
|
2003-09-11T08:59:15
|
|
Remove K&R cruft.
|
|
e9238130
|
2003-09-11T08:52:03
|
|
Remove K&R cruft.
|
|
8357f924
|
2003-09-11T08:46:51
|
|
(main): Define with a prototype.
|
|
a3da0021
|
2003-09-11T08:43:46
|
|
Remove K&R cruft.
|
|
40d66dc7
|
2003-09-10T14:52:49
|
|
Assume ANSI C.
|
|
7dd7a67c
|
2003-09-10T14:16:32
|
|
Assume ANSI C <string.h>, <stdlib.h>.
|
|
57a1c061
|
2003-09-10T14:07:55
|
|
Assume ANSI C.
|
|
cd943b46
|
2003-09-10T08:33:22
|
|
.
|
|
bc304cd4
|
2003-09-10T08:33:11
|
|
Correct indentation of cpp directives.
|
|
3b944578
|
2003-09-10T07:28:30
|
|
(strchrnul): Convert arg to char, not to unsigned char.
|
|
383599de
|
2003-09-10T07:27:34
|
|
unsigned char -> char in strchrnul
|