gnulib.git
20 years agoUpgrade to gettext 0.13. This is a nop.
Bruno Haible [Wed, 3 Dec 2003 21:05:31 +0000 (21:05 +0000)]
Upgrade to gettext 0.13. This is a nop.

20 years ago* getgroups.c (getgroups): xmalloc takes one argument, not two.
Paul Eggert [Wed, 3 Dec 2003 10:17:42 +0000 (10:17 +0000)]
* getgroups.c (getgroups): xmalloc takes one argument, not two.

20 years agoupdate from texinfo
Karl Berry [Tue, 2 Dec 2003 14:45:29 +0000 (14:45 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Sun, 30 Nov 2003 23:07:49 +0000 (23:07 +0000)]
update from texinfo

20 years agoargp update from libc
Karl Berry [Sat, 29 Nov 2003 13:37:46 +0000 (13:37 +0000)]
argp update from libc

20 years ago.
Karl Berry [Wed, 26 Nov 2003 08:21:40 +0000 (08:21 +0000)]
.

20 years agoUse size_t instead of ssize_t.
Bruno Haible [Tue, 25 Nov 2003 11:18:46 +0000 (11:18 +0000)]
Use size_t instead of ssize_t.

20 years ago.
Karl Berry [Tue, 25 Nov 2003 08:42:14 +0000 (08:42 +0000)]
.

20 years agoRemove dependency of alloca on xalloc.
Paul Eggert [Mon, 24 Nov 2003 21:38:43 +0000 (21:38 +0000)]
Remove dependency of alloca on xalloc.

20 years agoAdd xsize. Forgotten commit on 2003-11-04.
Bruno Haible [Mon, 24 Nov 2003 12:05:44 +0000 (12:05 +0000)]
Add xsize. Forgotten commit on 2003-11-04.

20 years ago.
Jim Meyering [Sat, 22 Nov 2003 15:08:27 +0000 (15:08 +0000)]
.

20 years ago(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.
Jim Meyering [Sat, 22 Nov 2003 15:07:36 +0000 (15:07 +0000)]
(x2nrealloc_inline): Fix typos in comments: s/size/size_t/.

20 years agoconfig update
Karl Berry [Fri, 21 Nov 2003 13:33:54 +0000 (13:33 +0000)]
config update

20 years agoAvoid alloca with too large size.
Bruno Haible [Tue, 18 Nov 2003 15:29:47 +0000 (15:29 +0000)]
Avoid alloca with too large size.

20 years ago.
Karl Berry [Tue, 18 Nov 2003 13:43:51 +0000 (13:43 +0000)]
.

20 years ago.
Karl Berry [Tue, 18 Nov 2003 08:20:33 +0000 (08:20 +0000)]
.

20 years agoS+T cannot overflow if S is the size of an existing object and T is small.
Paul Eggert [Mon, 17 Nov 2003 21:58:05 +0000 (21:58 +0000)]
S+T cannot overflow if S is the size of an existing object and T is small.

20 years agoMention that S+T cannot overflow if S is the size of an existing
Paul Eggert [Mon, 17 Nov 2003 21:47:16 +0000 (21:47 +0000)]
Mention that S+T cannot overflow if S is the size of an existing
object and T is sufficiently small.

20 years ago*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 16:16:14 +0000 (16:16 +0000)]
*** empty log message ***

20 years agoOn systems without utime and without a utimes function capable of
Jim Meyering [Mon, 17 Nov 2003 16:16:00 +0000 (16:16 +0000)]
On systems without utime and without a utimes function capable of
dealing with a NULL struct utimbuf* argument, this utime replacement
could -- in unusual circumstances -- leak a file descriptor.

Include <unistd.h> and <errno.h>.
(utime_null): Be sure to close `fd' and to preserve errno.

20 years agoUse xsize.h to protect against memory size overflows.
Bruno Haible [Mon, 17 Nov 2003 15:14:21 +0000 (15:14 +0000)]
Use xsize.h to protect against memory size overflows.

20 years agoMerge support for wide characters, from GNU gettext.
Bruno Haible [Mon, 17 Nov 2003 14:56:31 +0000 (14:56 +0000)]
Merge support for wide characters, from GNU gettext.

20 years agoNew function xmax.
Bruno Haible [Mon, 17 Nov 2003 14:37:27 +0000 (14:37 +0000)]
New function xmax.

20 years agoupdate from texinfo
Karl Berry [Sun, 16 Nov 2003 17:49:08 +0000 (17:49 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Sun, 16 Nov 2003 13:48:56 +0000 (13:48 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Sat, 15 Nov 2003 14:58:11 +0000 (14:58 +0000)]
update from texinfo

20 years ago.
Karl Berry [Thu, 13 Nov 2003 08:35:05 +0000 (08:35 +0000)]
.

20 years agoRemove dependency of xalloc.h on SIZE_MAX and PTRDIFF_MAX.
Paul Eggert [Thu, 13 Nov 2003 07:19:08 +0000 (07:19 +0000)]
Remove dependency of xalloc.h on SIZE_MAX and PTRDIFF_MAX.

20 years agoxstrtol.c (__xstrtol): Remove "break" immediately after
Paul Eggert [Thu, 13 Nov 2003 05:17:20 +0000 (05:17 +0000)]
xstrtol.c (__xstrtol): Remove "break" immediately after
"return", to pacify some unknown compiler.  Problem reported
by Joerg Schilling.

20 years ago.
Karl Berry [Wed, 12 Nov 2003 08:26:36 +0000 (08:26 +0000)]
.

20 years agoRely on SIZE_MAX and PTRDIFF_MAX as defined by ISO C 99.
Bruno Haible [Tue, 11 Nov 2003 11:58:42 +0000 (11:58 +0000)]
Rely on SIZE_MAX and PTRDIFF_MAX as defined by ISO C 99.

20 years agoMacro for determining PTRDIFF_MAX.
Bruno Haible [Tue, 11 Nov 2003 11:57:04 +0000 (11:57 +0000)]
Macro for determining PTRDIFF_MAX.

20 years agoMacro for determining SIZE_MAX.
Bruno Haible [Tue, 11 Nov 2003 11:56:48 +0000 (11:56 +0000)]
Macro for determining SIZE_MAX.

20 years agoFix off-by-one error in xalloc_oversized.
Paul Eggert [Mon, 10 Nov 2003 23:55:49 +0000 (23:55 +0000)]
Fix off-by-one error in xalloc_oversized.

20 years ago.
Karl Berry [Mon, 10 Nov 2003 14:39:13 +0000 (14:39 +0000)]
.

20 years agoupdate from automake
Karl Berry [Sun, 9 Nov 2003 14:01:33 +0000 (14:01 +0000)]
update from automake

20 years agoReject allocations of exactly SIZE_MAX bytes.
Paul Eggert [Thu, 6 Nov 2003 19:40:49 +0000 (19:40 +0000)]
Reject allocations of exactly SIZE_MAX bytes.

20 years agoSolaris portability problem.
Bruno Haible [Wed, 5 Nov 2003 11:36:58 +0000 (11:36 +0000)]
Solaris portability problem.

20 years ago.
Karl Berry [Wed, 5 Nov 2003 08:24:58 +0000 (08:24 +0000)]
.

20 years agoUse xsize.
Bruno Haible [Tue, 4 Nov 2003 12:06:35 +0000 (12:06 +0000)]
Use xsize.

20 years agoNew module 'xsize'.
Bruno Haible [Tue, 4 Nov 2003 12:06:16 +0000 (12:06 +0000)]
New module 'xsize'.

20 years ago*** empty log message ***
Jim Meyering [Tue, 4 Nov 2003 10:24:51 +0000 (10:24 +0000)]
*** empty log message ***

20 years agoUse the `$(VAR)' notation for AC_SUBST'd variable names, rather than @VAR@.
Jim Meyering [Tue, 4 Nov 2003 10:24:35 +0000 (10:24 +0000)]
Use the `$(VAR)' notation for AC_SUBST'd variable names, rather than @VAR@.

20 years agoUse the `$(VAR)' notation for AC_SUBST'd variable names, rather than @VAR@.
Jim Meyering [Tue, 4 Nov 2003 09:41:26 +0000 (09:41 +0000)]
Use the `$(VAR)' notation for AC_SUBST'd variable names, rather than @VAR@.

20 years ago.
Karl Berry [Tue, 4 Nov 2003 08:23:00 +0000 (08:23 +0000)]
.

20 years agoUse waitid if possible.
Bruno Haible [Mon, 3 Nov 2003 20:47:02 +0000 (20:47 +0000)]
Use waitid if possible.

20 years ago*** empty log message ***
Jim Meyering [Mon, 3 Nov 2003 15:04:39 +0000 (15:04 +0000)]
*** empty log message ***

20 years agonew file
Jim Meyering [Mon, 3 Nov 2003 15:04:21 +0000 (15:04 +0000)]
new file

20 years agoInclude "userspec.h".
Jim Meyering [Mon, 3 Nov 2003 15:03:24 +0000 (15:03 +0000)]
Include "userspec.h".

20 years ago(lib_SOURCES): Add userspec.h.
Jim Meyering [Mon, 3 Nov 2003 15:02:32 +0000 (15:02 +0000)]
(lib_SOURCES): Add userspec.h.
(Include): Add "userspec.h".
Improve description.

20 years agoupdate from config
Karl Berry [Mon, 3 Nov 2003 14:33:20 +0000 (14:33 +0000)]
update from config

20 years agovasprintf.c sync broken
Karl Berry [Sun, 2 Nov 2003 14:57:18 +0000 (14:57 +0000)]
vasprintf.c sync broken

20 years agoupdate from texinfo
Karl Berry [Sat, 1 Nov 2003 15:07:27 +0000 (15:07 +0000)]
update from texinfo

20 years agoCatch size calculation overflow problem on Alphas running OSF/1.
Paul Eggert [Sat, 1 Nov 2003 06:00:45 +0000 (06:00 +0000)]
Catch size calculation overflow problem on Alphas running OSF/1.
Fix malloc FIXME in mountlist.c.

20 years ago*hash.c: Include "xalloc.h" for use of xalloc_oversized.
Jim Meyering [Fri, 31 Oct 2003 14:06:59 +0000 (14:06 +0000)]
*hash.c: Include "xalloc.h" for use of xalloc_oversized.

20 years agoInclude "xalloc.h" for use of xalloc_oversized.
Jim Meyering [Fri, 31 Oct 2003 14:06:36 +0000 (14:06 +0000)]
Include "xalloc.h" for use of xalloc_oversized.

20 years ago* linebuffer.c: Include <string.h> for declaration of memset.
Jim Meyering [Fri, 31 Oct 2003 13:53:37 +0000 (13:53 +0000)]
* linebuffer.c: Include <string.h> for declaration of memset.

20 years agoInclude <string.h> for declaration of memset.
Jim Meyering [Fri, 31 Oct 2003 13:53:15 +0000 (13:53 +0000)]
Include <string.h> for declaration of memset.

20 years agoChange netbsd*-gnu pattern back to netbsd*-gnu*.
Paul Eggert [Thu, 30 Oct 2003 18:46:19 +0000 (18:46 +0000)]
Change netbsd*-gnu pattern back to netbsd*-gnu*.

20 years agoCheck for overflow when converting from size_t to 'int'.
Bruno Haible [Thu, 30 Oct 2003 14:09:04 +0000 (14:09 +0000)]
Check for overflow when converting from size_t to 'int'.

20 years agoAdd comment.
Bruno Haible [Thu, 30 Oct 2003 13:52:10 +0000 (13:52 +0000)]
Add comment.

20 years ago.
Karl Berry [Thu, 30 Oct 2003 08:25:42 +0000 (08:25 +0000)]
.

20 years agoRevamp xalloc_oversized so that its count arg need not fit into size_t.
Paul Eggert [Thu, 30 Oct 2003 06:33:39 +0000 (06:33 +0000)]
Revamp xalloc_oversized so that its count arg need not fit into size_t.
Fix up group-member, quotearg accordingly.

20 years agohost-os.m4 (UTILS_HOST_OS): Fix bugs in previous change.
Paul Eggert [Thu, 30 Oct 2003 05:51:29 +0000 (05:51 +0000)]
host-os.m4 (UTILS_HOST_OS): Fix bugs in previous change.

20 years agoFix some bugs in the previous change.
Paul Eggert [Thu, 30 Oct 2003 05:50:36 +0000 (05:50 +0000)]
Fix some bugs in the previous change.

20 years agoSimplify the code by using new xalloc.h features.
Paul Eggert [Thu, 30 Oct 2003 00:36:03 +0000 (00:36 +0000)]
Simplify the code by using new xalloc.h features.

20 years agoLog xrealloc -> free+xmalloc changes for getgroups, quotearg.
Paul Eggert [Wed, 29 Oct 2003 17:35:16 +0000 (17:35 +0000)]
Log xrealloc -> free+xmalloc changes for getgroups, quotearg.

20 years ago(quotearg_n_options): Use free/xmalloc rather than xrealloc.
Paul Eggert [Wed, 29 Oct 2003 17:33:05 +0000 (17:33 +0000)]
(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.

20 years ago(getgroups): Don't use xrealloc, since we don't need the buffer
Paul Eggert [Wed, 29 Oct 2003 17:27:58 +0000 (17:27 +0000)]
(getgroups): Don't use xrealloc, since we don't need the buffer
preserved.  Use free and xmalloc instead.

20 years agoIdentify GNU/KFreeBSD and GNU/KNetBSD using their new names (which have a
Paul Eggert [Tue, 28 Oct 2003 03:06:17 +0000 (03:06 +0000)]
Identify GNU/KFreeBSD and GNU/KNetBSD using their new names (which have a
"K" in front of the kernel name).

20 years agoupdate from texinfo
Karl Berry [Mon, 27 Oct 2003 21:28:39 +0000 (21:28 +0000)]
update from texinfo

20 years agoImproved support for BeOS: Avoid compilation error if <sys/socket.h>
Bruno Haible [Mon, 27 Oct 2003 13:58:34 +0000 (13:58 +0000)]
Improved support for BeOS: Avoid compilation error if <sys/socket.h>
is included after <stdbool.h>.

20 years agoModify exclude.c to use new xalloc primitives, for simplicity.
Paul Eggert [Mon, 27 Oct 2003 08:41:23 +0000 (08:41 +0000)]
Modify exclude.c to use new xalloc primitives, for simplicity.

20 years agoxalloc.h now uses inline, so includers need to configure this.
Paul Eggert [Mon, 27 Oct 2003 08:11:09 +0000 (08:11 +0000)]
xalloc.h now uses inline, so includers need to configure this.

20 years agoNew function xalloc_oversized.
Paul Eggert [Mon, 27 Oct 2003 08:00:26 +0000 (08:00 +0000)]
New function xalloc_oversized.

20 years agoAdd x2realloc, x2nrealloc. Port to C99 inline.
Paul Eggert [Mon, 27 Oct 2003 07:28:24 +0000 (07:28 +0000)]
Add x2realloc, x2nrealloc.  Port to C99 inline.

20 years ago(alloca): xmalloc cannot return NULL, so don't test for that.
Paul Eggert [Mon, 27 Oct 2003 07:12:11 +0000 (07:12 +0000)]
(alloca): xmalloc cannot return NULL, so don't test for that.

20 years ago.
Karl Berry [Sun, 26 Oct 2003 11:56:27 +0000 (11:56 +0000)]
.

20 years ago(COPYING.DOC): no longer available from
Karl Berry [Sun, 26 Oct 2003 11:52:05 +0000 (11:52 +0000)]
(COPYING.DOC): no longer available from
/gd/gnuorg; don't know where the ultimate source is.

20 years agoFix several address-calculation bugs in the hash modules,
Paul Eggert [Sun, 26 Oct 2003 00:14:40 +0000 (00:14 +0000)]
Fix several address-calculation bugs in the hash modules,
plus some minor code cleanup.

20 years agoupdate from texinfo
Karl Berry [Sat, 25 Oct 2003 16:40:01 +0000 (16:40 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Fri, 24 Oct 2003 16:40:07 +0000 (16:40 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Fri, 24 Oct 2003 01:59:31 +0000 (01:59 +0000)]
update from texinfo

20 years agoDon't include getndelim2.o twice into LIBOBJS.
Paul Eggert [Thu, 23 Oct 2003 18:41:19 +0000 (18:41 +0000)]
Don't include getndelim2.o twice into LIBOBJS.

20 years agoupdate from texinfo
Karl Berry [Thu, 23 Oct 2003 14:11:57 +0000 (14:11 +0000)]
update from texinfo

20 years agoMeyers -> Myers
Paul Eggert [Wed, 22 Oct 2003 16:26:00 +0000 (16:26 +0000)]
Meyers -> Myers

20 years ago(getndelim2): When size calculation overflows,
Paul Eggert [Wed, 22 Oct 2003 05:53:05 +0000 (05:53 +0000)]
(getndelim2): When size calculation overflows,
ceiling the allocation at NMAX bytes.

20 years agoMerge changes from glibc obstack; minor cleanups to make it easier to
Paul Eggert [Wed, 22 Oct 2003 05:10:04 +0000 (05:10 +0000)]
Merge changes from glibc obstack; minor cleanups to make it easier to
merge back in the future.

20 years agoDon't use lvalue casts, as GCC plans to remove support for them in GCC 3.5.
Paul Eggert [Wed, 22 Oct 2003 01:02:47 +0000 (01:02 +0000)]
Don't use lvalue casts, as GCC plans to remove support for them in GCC 3.5.

20 years ago.
Karl Berry [Tue, 21 Oct 2003 09:53:14 +0000 (09:53 +0000)]
.

20 years agoNew module 'wait-process'.
Bruno Haible [Mon, 20 Oct 2003 11:03:53 +0000 (11:03 +0000)]
New module 'wait-process'.

20 years agoPortability to HP-UX 10, found by Jim Meyering.
Bruno Haible [Mon, 20 Oct 2003 10:51:59 +0000 (10:51 +0000)]
Portability to HP-UX 10, found by Jim Meyering.

20 years agoconfig update
Karl Berry [Sat, 18 Oct 2003 22:58:00 +0000 (22:58 +0000)]
config update

20 years agoupdate from texinfo
Karl Berry [Fri, 17 Oct 2003 01:49:31 +0000 (01:49 +0000)]
update from texinfo

20 years agoupdate from config
Karl Berry [Thu, 16 Oct 2003 22:57:54 +0000 (22:57 +0000)]
update from config

20 years ago(foo *) NULL + 0 == NULL
Paul Eggert [Thu, 16 Oct 2003 18:28:06 +0000 (18:28 +0000)]
(foo *) NULL + 0 == NULL

20 years agogetgroups.c: minor fixups.
Paul Eggert [Thu, 16 Oct 2003 07:34:14 +0000 (07:34 +0000)]
getgroups.c: minor fixups.

20 years agoInclude <errno.h>, <stdlib.h>.
Paul Eggert [Thu, 16 Oct 2003 07:30:56 +0000 (07:30 +0000)]
Include <errno.h>, <stdlib.h>.
(getgroups): First arg is int, not size_t.
Don't let 'free' mangle errno.

20 years ago.
Jim Meyering [Thu, 16 Oct 2003 07:06:57 +0000 (07:06 +0000)]
.

20 years agoInclude <string.h>, for declarations of memset and memcpy.
Jim Meyering [Thu, 16 Oct 2003 07:06:25 +0000 (07:06 +0000)]
Include <string.h>, for declarations of memset and memcpy.