lib


Log

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