gnulib.git
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.

20 years agoFix address-arithmetic and alloca bugs in fnmatch.
Paul Eggert [Thu, 16 Oct 2003 06:56:14 +0000 (06:56 +0000)]
Fix address-arithmetic and alloca bugs in fnmatch.
exclude.c cleanups.

20 years agoCheck for address arithmetic overflow.
Paul Eggert [Thu, 16 Oct 2003 06:51:24 +0000 (06:51 +0000)]
Check for address arithmetic overflow.
Do not alloca huge buffers.

20 years agoDo not include <inttypes.h> or <stdint.h>.
Paul Eggert [Thu, 16 Oct 2003 05:26:15 +0000 (05:26 +0000)]
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.

20 years ago.
Karl Berry [Wed, 15 Oct 2003 08:44:54 +0000 (08:44 +0000)]
.

20 years agoHandle invalid suffixes and overflow independently, so that
Paul Eggert [Tue, 14 Oct 2003 20:08:25 +0000 (20:08 +0000)]
Handle invalid suffixes and overflow independently, so that
callers can treat them independently as needed.  Fix some bugs in
suffix handling.

20 years agoTest for sig_atomic_t. Part of modules 'fatal-signal' and 'wait-process'.
Bruno Haible [Tue, 14 Oct 2003 12:10:32 +0000 (12:10 +0000)]
Test for sig_atomic_t. Part of modules 'fatal-signal' and 'wait-process'.

20 years agoImproved 'fatal-signal' module.
Bruno Haible [Tue, 14 Oct 2003 12:09:12 +0000 (12:09 +0000)]
Improved 'fatal-signal' module.

20 years ago(MAX_BUF_SIZE): Reduce to 2**15.
Richard Stallman [Mon, 13 Oct 2003 18:48:14 +0000 (18:48 +0000)]
(MAX_BUF_SIZE): Reduce to 2**15.
(print_partial_compiled_pattern): Replace assert with a printout.
(skip_noops, mutually_exclusive_p): Change args, values to re_char *.

20 years ago.
Karl Berry [Mon, 13 Oct 2003 08:27:23 +0000 (08:27 +0000)]
.

20 years agoRevamp xalloc interface so that it can check for address arithmetic overflow.
Paul Eggert [Mon, 13 Oct 2003 06:07:10 +0000 (06:07 +0000)]
Revamp xalloc interface so that it can check for address arithmetic overflow.

20 years ago.
Karl Berry [Sat, 11 Oct 2003 08:09:03 +0000 (08:09 +0000)]
.

20 years agoA little more dependencies of the 'argp' module.
Bruno Haible [Fri, 10 Oct 2003 19:41:12 +0000 (19:41 +0000)]
A little more dependencies of the 'argp' module.

20 years agoupdate from texinfo
Karl Berry [Thu, 9 Oct 2003 13:29:49 +0000 (13:29 +0000)]
update from texinfo

20 years ago.
Karl Berry [Thu, 9 Oct 2003 07:56:41 +0000 (07:56 +0000)]
.

20 years agoMerge getpass from libc, plus a few fixes.
Paul Eggert [Wed, 8 Oct 2003 20:34:54 +0000 (20:34 +0000)]
Merge getpass from libc, plus a few fixes.

20 years agoupdate from texinfo
Karl Berry [Wed, 8 Oct 2003 19:38:51 +0000 (19:38 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Wed, 8 Oct 2003 12:01:28 +0000 (12:01 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Tue, 7 Oct 2003 12:58:45 +0000 (12:58 +0000)]
update from texinfo

20 years agoupdate from config
Karl Berry [Tue, 7 Oct 2003 12:57:23 +0000 (12:57 +0000)]
update from config

20 years ago.
Karl Berry [Tue, 7 Oct 2003 07:46:10 +0000 (07:46 +0000)]
.

20 years agoRemove version-etc-2 module.
Bruno Haible [Mon, 6 Oct 2003 20:32:36 +0000 (20:32 +0000)]
Remove version-etc-2 module.

20 years agoMerge version-etc-2 back into version-etc: Better way to internationalize
Bruno Haible [Mon, 6 Oct 2003 20:30:17 +0000 (20:30 +0000)]
Merge version-etc-2 back into version-etc: Better way to internationalize
the "Written by ..." sentence.

20 years agoNew module 'fatal-signal'.
Bruno Haible [Mon, 6 Oct 2003 12:50:11 +0000 (12:50 +0000)]
New module 'fatal-signal'.

20 years agoupdate from texinfo
Karl Berry [Sun, 5 Oct 2003 12:34:51 +0000 (12:34 +0000)]
update from texinfo

20 years agoRework advice for preventing empty .o files.
Paul Eggert [Sun, 5 Oct 2003 07:06:59 +0000 (07:06 +0000)]
Rework advice for preventing empty .o files.

20 years agoargp update from libc
Karl Berry [Sat, 4 Oct 2003 12:28:06 +0000 (12:28 +0000)]
argp update from libc

20 years agoupdate from config
Karl Berry [Sat, 4 Oct 2003 12:26:31 +0000 (12:26 +0000)]
update from config

20 years ago.
Karl Berry [Fri, 3 Oct 2003 07:10:45 +0000 (07:10 +0000)]
.

20 years agoTweak Include section.
Bruno Haible [Thu, 2 Oct 2003 10:22:12 +0000 (10:22 +0000)]
Tweak Include section.

20 years agoPut gethostname into the right section.
Bruno Haible [Thu, 2 Oct 2003 10:18:23 +0000 (10:18 +0000)]
Put gethostname into the right section.

20 years agoDon't mention getdomainname, xgetdomainname twice.
Bruno Haible [Thu, 2 Oct 2003 10:17:02 +0000 (10:17 +0000)]
Don't mention getdomainname, xgetdomainname twice.

20 years agoDon't echo the password on Solaris, HP-UX, AIX, OSF/1.
Bruno Haible [Wed, 1 Oct 2003 11:11:02 +0000 (11:11 +0000)]
Don't echo the password on Solaris, HP-UX, AIX, OSF/1.

20 years ago(regex_compile): Free the stack when returning from function.
Richard Stallman [Tue, 30 Sep 2003 12:36:17 +0000 (12:36 +0000)]
(regex_compile): Free the stack when returning from function.

20 years ago* strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.
Paul Eggert [Tue, 30 Sep 2003 06:11:03 +0000 (06:11 +0000)]
* strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.

20 years ago.
Jim Meyering [Sun, 28 Sep 2003 08:09:34 +0000 (08:09 +0000)]
.

20 years agoCorrect cpp indentation.
Jim Meyering [Sun, 28 Sep 2003 08:09:13 +0000 (08:09 +0000)]
Correct cpp indentation.

20 years ago.
Karl Berry [Sun, 28 Sep 2003 07:15:38 +0000 (07:15 +0000)]
.

20 years agoTrivial fixes to Makefile.am parts of module listings.
Paul Eggert [Sun, 28 Sep 2003 03:41:50 +0000 (03:41 +0000)]
Trivial fixes to Makefile.am parts of module listings.

20 years agoOmit the special code that used __typeof__ for MIN and MAX,
Paul Eggert [Sat, 27 Sep 2003 22:36:10 +0000 (22:36 +0000)]
Omit the special code that used __typeof__ for MIN and MAX,
since we worry that it could be more trouble than it's worth.

20 years agoAdd 'free' module.
Paul Eggert [Sat, 27 Sep 2003 16:13:48 +0000 (16:13 +0000)]
Add 'free' module.

20 years agoUpdate comment about utimes bugs.
Paul Eggert [Sat, 27 Sep 2003 15:46:21 +0000 (15:46 +0000)]
Update comment about utimes bugs.

20 years ago(error_tail): Don't cast alloca to (void *); it's already (void *).
Paul Eggert [Sat, 27 Sep 2003 14:30:57 +0000 (14:30 +0000)]
(error_tail): Don't cast alloca to (void *); it's already (void *).

20 years agoupdate from automake
Karl Berry [Sat, 27 Sep 2003 12:47:07 +0000 (12:47 +0000)]
update from automake

20 years agoupdate from texinfo
Karl Berry [Sat, 27 Sep 2003 12:44:53 +0000 (12:44 +0000)]
update from texinfo

20 years ago* error.c (error_tail): Move some declarations
Paul Eggert [Sat, 27 Sep 2003 05:11:56 +0000 (05:11 +0000)]
* error.c (error_tail): Move some declarations
into inner scope where the local variables are used.

20 years agoBetter avoid collision with AIX stpncpy().
Bruno Haible [Fri, 26 Sep 2003 15:28:49 +0000 (15:28 +0000)]
Better avoid collision with AIX stpncpy().

20 years agoBetter handling of collision with AIX stpncpy() function.
Bruno Haible [Fri, 26 Sep 2003 15:25:30 +0000 (15:25 +0000)]
Better handling of collision with AIX stpncpy() function.

20 years agoTest result on AIX 4.3.3 and AIX 5.1.
Bruno Haible [Fri, 26 Sep 2003 14:28:46 +0000 (14:28 +0000)]
Test result on AIX 4.3.3 and AIX 5.1.

20 years agoTest result on glibc 2.x.
Bruno Haible [Fri, 26 Sep 2003 14:28:26 +0000 (14:28 +0000)]
Test result on glibc 2.x.

20 years agoTest for stpncpy function.
Bruno Haible [Fri, 26 Sep 2003 14:28:10 +0000 (14:28 +0000)]
Test for stpncpy function.

20 years agoreally install update from automake
Karl Berry [Fri, 26 Sep 2003 14:03:13 +0000 (14:03 +0000)]
really install update from automake

20 years agoDocument recent checkins.
Paul Eggert [Fri, 26 Sep 2003 07:43:06 +0000 (07:43 +0000)]
Document recent checkins.

20 years ago(SIZE_MAX) [!defined SIZE_MAX]: Define.
Paul Eggert [Fri, 26 Sep 2003 07:41:40 +0000 (07:41 +0000)]
(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.

20 years agoMerge changes from glibc.
Paul Eggert [Fri, 26 Sep 2003 07:35:01 +0000 (07:35 +0000)]
Merge changes from glibc.

20 years ago.
Karl Berry [Fri, 26 Sep 2003 07:12:40 +0000 (07:12 +0000)]
.

20 years agoNew module 'getdomainname'.
Bruno Haible [Thu, 25 Sep 2003 14:12:43 +0000 (14:12 +0000)]
New module 'getdomainname'.

20 years agoupdates from libc,automake
Karl Berry [Thu, 25 Sep 2003 12:21:19 +0000 (12:21 +0000)]
updates from libc,automake

20 years agoNew module 'version-etc-2'.
Bruno Haible [Thu, 25 Sep 2003 12:01:28 +0000 (12:01 +0000)]
New module 'version-etc-2'.

20 years agoFix comment.
Bruno Haible [Thu, 25 Sep 2003 11:01:25 +0000 (11:01 +0000)]
Fix comment.

20 years agoNew modules 'getdomainname', 'xgetdomainname'.
Bruno Haible [Thu, 25 Sep 2003 10:55:09 +0000 (10:55 +0000)]
New modules 'getdomainname', 'xgetdomainname'.

20 years agoReturn -1/EINVAL when the buffer is too small.
Bruno Haible [Thu, 25 Sep 2003 10:48:39 +0000 (10:48 +0000)]
Return -1/EINVAL when the buffer is too small.

20 years agoNew modules 'xgetdomainname'.
Bruno Haible [Thu, 25 Sep 2003 10:41:15 +0000 (10:41 +0000)]
New modules 'xgetdomainname'.

20 years agoNew module 'getdomainname'.
Bruno Haible [Thu, 25 Sep 2003 10:20:46 +0000 (10:20 +0000)]
New module 'getdomainname'.

20 years ago.
Karl Berry [Thu, 25 Sep 2003 07:16:02 +0000 (07:16 +0000)]
.

20 years agoAdd xgethostname.h.
Paul Eggert [Wed, 24 Sep 2003 21:09:18 +0000 (21:09 +0000)]
Add xgethostname.h.

20 years ago(freebuffer): Don't free the argument, just the buffer associated with
Paul Eggert [Wed, 24 Sep 2003 20:56:42 +0000 (20:56 +0000)]
(freebuffer): Don't free the argument, just the buffer associated with
the argument.  Bug reported by Simon Josefsson.

20 years ago* README: Document assumptions that 'int' is at least 32 bits
Paul Eggert [Wed, 24 Sep 2003 20:38:08 +0000 (20:38 +0000)]
* README: Document assumptions that 'int' is at least 32 bits
wide, that integer arithmetic is 2's complement without overflow,
that there are no holes in integer values, that adding sizes of
two nonoverlapping objects can't overflow, and that all-bits-zero
yields scalar zero.  Fix spelling and capitalization typos.

20 years agoupdate from texinfo
Karl Berry [Wed, 24 Sep 2003 17:51:55 +0000 (17:51 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Mon, 22 Sep 2003 13:41:32 +0000 (13:41 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Sun, 21 Sep 2003 20:21:06 +0000 (20:21 +0000)]
update from texinfo

20 years ago.
Karl Berry [Sun, 21 Sep 2003 13:33:24 +0000 (13:33 +0000)]
.

20 years agoargp.h update from libc
Karl Berry [Fri, 19 Sep 2003 13:21:16 +0000 (13:21 +0000)]
argp.h update from libc

20 years ago.
Karl Berry [Thu, 18 Sep 2003 07:13:35 +0000 (07:13 +0000)]
.

20 years ago* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first.
Paul Eggert [Thu, 18 Sep 2003 06:32:11 +0000 (06:32 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first.

20 years ago(gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
Paul Eggert [Wed, 17 Sep 2003 22:35:01 +0000 (22:35 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
to avoid spurious warnings like "AC_RUN_IFELSE was called before
gl_USE_SYSTEM_EXTENSIONS" from autoreconf.

Add copyright notice.  Put AC_GNU_SOURCE before AC_AIX (to indicate
relative importance :-).

20 years agoPort gnulib-tool to Solaris 8.
Paul Eggert [Wed, 17 Sep 2003 18:30:23 +0000 (18:30 +0000)]
Port gnulib-tool to Solaris 8.

20 years agoComment about the validity of errno.
Bruno Haible [Wed, 17 Sep 2003 12:46:33 +0000 (12:46 +0000)]
Comment about the validity of errno.

20 years agoNew module 'fwriteerror'.
Bruno Haible [Wed, 17 Sep 2003 10:10:55 +0000 (10:10 +0000)]
New module 'fwriteerror'.

20 years ago.
Karl Berry [Wed, 17 Sep 2003 07:19:20 +0000 (07:19 +0000)]
.

20 years agolinebuffer.c (readlinebuffer): Return NULL immediately upon input error.
Paul Eggert [Tue, 16 Sep 2003 20:00:38 +0000 (20:00 +0000)]
linebuffer.c (readlinebuffer): Return NULL immediately upon input error.

20 years agoAdd a warning about duplicate dependencies.
Bruno Haible [Tue, 16 Sep 2003 14:53:35 +0000 (14:53 +0000)]
Add a warning about duplicate dependencies.

20 years agoDon't trash errno when a read fails.
Paul Eggert [Mon, 15 Sep 2003 22:34:18 +0000 (22:34 +0000)]
Don't trash errno when a read fails.

20 years agoSort dependencies by importance, not alphabetically.
Paul Eggert [Mon, 15 Sep 2003 20:40:48 +0000 (20:40 +0000)]
Sort dependencies by importance, not alphabetically.

20 years agoNew module 'fwriteerror'.
Bruno Haible [Mon, 15 Sep 2003 19:15:22 +0000 (19:15 +0000)]
New module 'fwriteerror'.

20 years agotypo
Bruno Haible [Mon, 15 Sep 2003 09:42:28 +0000 (09:42 +0000)]
typo

20 years agono strdup.c sync any more
Karl Berry [Sun, 14 Sep 2003 13:54:17 +0000 (13:54 +0000)]
no strdup.c sync any more

20 years ago.
Jim Meyering [Sat, 13 Sep 2003 22:14:56 +0000 (22:14 +0000)]
.