gnulib.git
20 years agoutimes merge from coreutils
Paul Eggert [Sun, 17 Aug 2003 03:00:14 +0000 (03:00 +0000)]
utimes merge from coreutils

20 years ago(gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
Paul Eggert [Sun, 17 Aug 2003 00:15:43 +0000 (00:15 +0000)]
(gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.

20 years ago(AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
Paul Eggert [Sun, 17 Aug 2003 00:09:27 +0000 (00:09 +0000)]
(AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
to 1MB, so as not to render systems with no stack size limit (e.g.,
linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
Include <unistd.h>.  On some systems,
it is required for the definition of _SC_PAGESIZE.

20 years agoMerge from coreutils, etc.
Paul Eggert [Sat, 16 Aug 2003 09:44:37 +0000 (09:44 +0000)]
Merge from coreutils, etc.

20 years agoMore merges from coreutils, etc.
Paul Eggert [Sat, 16 Aug 2003 09:43:33 +0000 (09:43 +0000)]
More merges from coreutils, etc.

20 years ago(gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE, fixing a typo.
Paul Eggert [Sat, 16 Aug 2003 09:40:57 +0000 (09:40 +0000)]
(gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE, fixing a typo.

20 years ago(GL_FUNC_READDIR): Change name to have GL_ (not jm_)
Paul Eggert [Sat, 16 Aug 2003 09:37:15 +0000 (09:37 +0000)]
(GL_FUNC_READDIR): Change name to have GL_ (not jm_)
prefix.  Adjust cache variables similarly.  Create 500 rather than
just 300 files, to exercise bug on Darwin6.5, too.

20 years ago(gl_SYS__SYSTEM_CONFIGURATION): New macro.
Paul Eggert [Sat, 16 Aug 2003 09:25:58 +0000 (09:25 +0000)]
(gl_SYS__SYSTEM_CONFIGURATION): New macro.
(gl_PHYSMEM): Use it.
Also check for `table' function.
Check for new headers and functions.
Add check for sys/sysmp.h.
With suggestions from Kaveh Ghazi.
Ignore headers that are present but cannot be compiled.  This
avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
C 5.4.

20 years ago(jm_PERL): Use $am_missing_run, not undefined $missing_dir.
Paul Eggert [Sat, 16 Aug 2003 09:09:23 +0000 (09:09 +0000)]
(jm_PERL): Use $am_missing_run, not undefined $missing_dir.

20 years agoRequire AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
Paul Eggert [Sat, 16 Aug 2003 09:04:11 +0000 (09:04 +0000)]
Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
Reported by mkc@mathdogs.com.
Also change use of $am_cv_sys_posix_termios
to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.

20 years ago(UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
Paul Eggert [Sat, 16 Aug 2003 08:53:43 +0000 (08:53 +0000)]
(UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.

20 years ago(gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
Paul Eggert [Sat, 16 Aug 2003 08:44:38 +0000 (08:44 +0000)]
(gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.

20 years ago(jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
Paul Eggert [Sat, 16 Aug 2003 08:33:45 +0000 (08:33 +0000)]
(jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.

20 years ago[__GLIBC__]: GNU libc's statvfs stats each mount point in
Paul Eggert [Sat, 16 Aug 2003 08:28:42 +0000 (08:28 +0000)]
[__GLIBC__]: GNU libc's statvfs stats each mount point in
/proc/mounts until it finds one with matching device number.  This is
unnecessary when the FILE argument *is* a mount point.  No stat call
is necessary in that case.  So, disable the statvfs-testing code on
systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
as RedHat bug# 84846.

20 years ago.
Karl Berry [Sat, 16 Aug 2003 07:09:56 +0000 (07:09 +0000)]
.

20 years ago#else #if -> #elif
Paul Eggert [Sat, 16 Aug 2003 07:04:42 +0000 (07:04 +0000)]
#else #if -> #elif

20 years agoInclude <stdlib.h>.
Paul Eggert [Sat, 16 Aug 2003 06:58:50 +0000 (06:58 +0000)]
Include <stdlib.h>.
(xghostname): Don't exit for anything other than memory-related
failure; just return NULL.

20 years agoAccept `.' as a separator only in pre-POSIX-200112 mode.
Paul Eggert [Sat, 16 Aug 2003 06:25:29 +0000 (06:25 +0000)]
Accept `.' as a separator only in pre-POSIX-200112 mode.

20 years agoUse #elif rather than #else #if.
Paul Eggert [Sat, 16 Aug 2003 06:19:01 +0000 (06:19 +0000)]
Use #elif rather than #else #if.

20 years agoMerge from coreutils.
Paul Eggert [Sat, 16 Aug 2003 05:38:25 +0000 (05:38 +0000)]
Merge from coreutils.

20 years agoMerge frem coreutils.
Paul Eggert [Sat, 16 Aug 2003 04:05:01 +0000 (04:05 +0000)]
Merge frem coreutils.

20 years agoAppend 2003 to copyright dates.
Paul Eggert [Sat, 16 Aug 2003 03:57:54 +0000 (03:57 +0000)]
Append 2003 to copyright dates.

20 years agoMerge from coreutils.
Paul Eggert [Sat, 16 Aug 2003 03:51:49 +0000 (03:51 +0000)]
Merge from coreutils.

20 years agoUse three spaces, rather than tab, after '#'
Paul Eggert [Fri, 15 Aug 2003 18:04:34 +0000 (18:04 +0000)]
Use three spaces, rather than tab, after '#'
in shell-script copyright notices.
Suggested by Bruno Haible.

20 years ago.
Karl Berry [Fri, 15 Aug 2003 07:13:02 +0000 (07:13 +0000)]
.

20 years agoUse the `$(VAR)' notation for AC_REPLACED variable names, rather than @VAR@.
Paul Eggert [Fri, 15 Aug 2003 06:03:15 +0000 (06:03 +0000)]
Use the `$(VAR)' notation for AC_REPLACED variable names, rather than @VAR@.
 Use `$@' in the commands, in place of the three copies of the literal target.

20 years agoMerge in portability changes from gcc/libiberty
Paul Eggert [Fri, 15 Aug 2003 03:23:11 +0000 (03:23 +0000)]
Merge in portability changes from gcc/libiberty
to support AIX, IRIX, Tru64, and Windows.  See the ChangeLog there
for credits and details.  Thanks to Kaveh Ghazi for helping
to keep these files in sync.
(ARRAY_SIZE): Define it.
(physmem_total, physmem_available): Add comments. From Kaveh Ghazi.

20 years agoWhite-space changes only; from coreutils.
Paul Eggert [Fri, 15 Aug 2003 03:12:34 +0000 (03:12 +0000)]
White-space changes only; from coreutils.

20 years agoMerges from coreutils
Paul Eggert [Thu, 14 Aug 2003 23:38:10 +0000 (23:38 +0000)]
Merges from coreutils

20 years agoMerge mountlist changes from coreutils.
Paul Eggert [Thu, 14 Aug 2003 23:34:39 +0000 (23:34 +0000)]
Merge mountlist changes from coreutils.

20 years ago* memcasecmp.c: Remove unnecessary parentheses after 'defined'.
Paul Eggert [Thu, 14 Aug 2003 23:27:24 +0000 (23:27 +0000)]
* memcasecmp.c: Remove unnecessary parentheses after 'defined'.
(memcasecmp): Don't assume size_t fits in unsigned int.
Remove casts and duplicate code.

20 years agoMerge from coreutils.
Paul Eggert [Thu, 14 Aug 2003 23:12:50 +0000 (23:12 +0000)]
Merge from coreutils.

20 years ago(CLEANUP_CWD): Report an error if we failed to return to the initial
Paul Eggert [Thu, 14 Aug 2003 23:07:29 +0000 (23:07 +0000)]
(CLEANUP_CWD): Report an error if we failed to return to the initial
working directory.  Preserve errno for caller.

20 years agoInclude "xalloc.h"
Paul Eggert [Thu, 14 Aug 2003 23:03:13 +0000 (23:03 +0000)]
Include "xalloc.h"
(xmalloc, xrealloc): Remove decls.
(getuser): Remove casts no longer required in C89.

20 years agoInclude stdio.h, for sprintf.
Paul Eggert [Thu, 14 Aug 2003 23:00:25 +0000 (23:00 +0000)]
Include stdio.h, for sprintf.

20 years agoInclude "xalloc.h".
Paul Eggert [Thu, 14 Aug 2003 22:56:12 +0000 (22:56 +0000)]
Include "xalloc.h".
(xmalloc, xrealloc): Remove decls.
(get_group_info): Remove casts no longer required in C89.

20 years ago(readname): Remove casts no longer required in C89.
Paul Eggert [Thu, 14 Aug 2003 22:04:35 +0000 (22:04 +0000)]
(readname): Remove casts no longer required in C89.

20 years agoAdd wrappers for gmtime and tzset, too.
Paul Eggert [Thu, 14 Aug 2003 21:59:28 +0000 (21:59 +0000)]
Add wrappers for gmtime and tzset, too.

20 years agoWhitespace fix, from coreutils.
Paul Eggert [Thu, 14 Aug 2003 21:50:36 +0000 (21:50 +0000)]
Whitespace fix, from coreutils.

20 years agoFix typo in previous change; it mishandled the case when line_end was
Paul Eggert [Wed, 13 Aug 2003 23:44:25 +0000 (23:44 +0000)]
Fix typo in previous change; it mishandled the case when line_end was
neither a space nor NUL.

20 years agoIgnore trailing white space and empty lines
Paul Eggert [Wed, 13 Aug 2003 23:15:00 +0000 (23:15 +0000)]
Ignore trailing white space and empty lines
in files containing patterns to exclude.

20 years agoLeave whitespace alone when importing, undoing that part of yesterday's
Paul Eggert [Wed, 13 Aug 2003 20:23:14 +0000 (20:23 +0000)]
Leave whitespace alone when importing, undoing that part of yesterday's
changes.

20 years ago.
Karl Berry [Wed, 13 Aug 2003 07:22:54 +0000 (07:22 +0000)]
.

20 years agoAdd first line of copyright notice -- the most important part!
Paul Eggert [Wed, 13 Aug 2003 07:04:57 +0000 (07:04 +0000)]
Add first line of copyright notice -- the most important part!

20 years agoNormalize leading white space and remove trailing white space.
Paul Eggert [Wed, 13 Aug 2003 06:48:58 +0000 (06:48 +0000)]
Normalize leading white space and remove trailing white space.

20 years agoSync with texinfo.
Paul Eggert [Wed, 13 Aug 2003 05:07:54 +0000 (05:07 +0000)]
Sync with texinfo.

20 years agoMerge euidaccess etc. from coreutils.
Paul Eggert [Tue, 12 Aug 2003 23:39:50 +0000 (23:39 +0000)]
Merge euidaccess etc. from coreutils.

20 years agoAdd printf-args.h, printf-parse.h, stdbool_.h, vasnprintf.h, vasprintf.h.
Paul Eggert [Tue, 12 Aug 2003 23:31:50 +0000 (23:31 +0000)]
Add printf-args.h, printf-parse.h, stdbool_.h, vasnprintf.h, vasprintf.h.
Remove strdup.c, gettext.h.

20 years agoWhite space fixes from coreutils.
Paul Eggert [Tue, 12 Aug 2003 23:27:26 +0000 (23:27 +0000)]
White space fixes from coreutils.

20 years agoGet m4 files from the gettext distribution.
Paul Eggert [Tue, 12 Aug 2003 21:16:52 +0000 (21:16 +0000)]
Get m4 files from the gettext distribution.

20 years agovasnprintf.c changed locally
Karl Berry [Tue, 12 Aug 2003 14:33:10 +0000 (14:33 +0000)]
vasnprintf.c changed locally

20 years ago.
Karl Berry [Tue, 12 Aug 2003 07:11:17 +0000 (07:11 +0000)]
.

20 years agos/fileutils, sh-utils, textutils/coreutils/
Jim Meyering [Mon, 11 Aug 2003 18:47:19 +0000 (18:47 +0000)]
s/fileutils, sh-utils, textutils/coreutils/

20 years agoRemove the gnu-source module.
Paul Eggert [Mon, 11 Aug 2003 17:45:27 +0000 (17:45 +0000)]
Remove the gnu-source module.

20 years agoWork around the lack of wcslen() on Solaris 2.5.1.
Bruno Haible [Mon, 11 Aug 2003 13:02:26 +0000 (13:02 +0000)]
Work around the lack of wcslen() on Solaris 2.5.1.

20 years agoUse a trick to ensure that _Bool can remain an enum and still promote
Bruno Haible [Mon, 11 Aug 2003 12:34:07 +0000 (12:34 +0000)]
Use a trick to ensure that _Bool can remain an enum and still promote
to 'int'.

20 years agoupdate regex.h from libc
Karl Berry [Sun, 10 Aug 2003 13:54:55 +0000 (13:54 +0000)]
update regex.h from libc

20 years agoregex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371".
Paul Eggert [Sat, 9 Aug 2003 20:04:56 +0000 (20:04 +0000)]
regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371".

20 years ago(jm_INCLUDED_REGEX): Change "\201" to "\371"; apparently Emacs's
Paul Eggert [Sat, 9 Aug 2003 20:04:34 +0000 (20:04 +0000)]
(jm_INCLUDED_REGEX): Change "\201" to "\371"; apparently Emacs's
Unicode mode got confused before my 2003-08-05 checkin .

20 years agowhite space
Jim Meyering [Sat, 9 Aug 2003 13:12:30 +0000 (13:12 +0000)]
white space

20 years agoMerge from coreutils.
Paul Eggert [Sat, 9 Aug 2003 08:57:49 +0000 (08:57 +0000)]
Merge from coreutils.

20 years ago.
Karl Berry [Sat, 9 Aug 2003 07:12:12 +0000 (07:12 +0000)]
.

20 years agoNew module 'extensions', used by timespec and unlocked-io
Paul Eggert [Fri, 8 Aug 2003 20:15:52 +0000 (20:15 +0000)]
New module 'extensions', used by timespec and unlocked-io
for portability to Solaris.

20 years ago.
Karl Berry [Fri, 8 Aug 2003 07:12:50 +0000 (07:12 +0000)]
.

20 years agoAdd 'restrict' module.
Paul Eggert [Thu, 7 Aug 2003 19:33:14 +0000 (19:33 +0000)]
Add 'restrict' module.

20 years agoMake the module 'getndelim2' compatible with the module 'getline'.
Bruno Haible [Thu, 7 Aug 2003 10:49:28 +0000 (10:49 +0000)]
Make the module 'getndelim2' compatible with the module 'getline'.

20 years ago.
Karl Berry [Wed, 6 Aug 2003 07:13:36 +0000 (07:13 +0000)]
.

20 years agoregex.m4: Replace a single non-ASCII byte with "\201".
Paul Eggert [Wed, 6 Aug 2003 06:32:34 +0000 (06:32 +0000)]
regex.m4: Replace a single non-ASCII byte with "\201".

20 years agoWhoops; it was \201, not \371.
Paul Eggert [Wed, 6 Aug 2003 06:27:39 +0000 (06:27 +0000)]
Whoops; it was \201, not \371.

20 years ago(jm_INCLUDED_REGEX): Don't use Latin-1 in C source code; use \371
Paul Eggert [Wed, 6 Aug 2003 06:13:54 +0000 (06:13 +0000)]
(jm_INCLUDED_REGEX): Don't use Latin-1 in C source code; use \371
instead.

20 years agoLog yesterday's merge from coreutils.
Paul Eggert [Wed, 6 Aug 2003 04:34:47 +0000 (04:34 +0000)]
Log yesterday's merge from coreutils.

20 years agoRemove bumpalloc.
Paul Eggert [Wed, 6 Aug 2003 03:52:46 +0000 (03:52 +0000)]
Remove bumpalloc.

20 years agoExtend the comment.
Bruno Haible [Tue, 5 Aug 2003 19:29:51 +0000 (19:29 +0000)]
Extend the comment.

20 years agoInclude "xalloc.h" instead of declaring xalloc fns; from Dmitry V. Levin.
Paul Eggert [Tue, 5 Aug 2003 05:29:41 +0000 (05:29 +0000)]
Include "xalloc.h" instead of declaring xalloc fns; from Dmitry V. Levin.
Remove anachronistic cast of xrealloc.

20 years ago(date): Also accept dates like May-23-2003; suggestion
Paul Eggert [Tue, 5 Aug 2003 05:14:20 +0000 (05:14 +0000)]
(date): Also accept dates like May-23-2003; suggestion
from Karl Berry, implemented by Jim Meyering.

20 years ago(NEW_PATTERN): Cast alloca return value to proper type.
Paul Eggert [Mon, 4 Aug 2003 23:23:27 +0000 (23:23 +0000)]
(NEW_PATTERN): Cast alloca return value to proper type.
Otherwise, it wouldn't compile with at least /bin/cc on
ymp-cray-unicos9.0.2.X.
Combine two mostly-identical uses of alloca into one.

20 years ago(__const): Remove. Use 'const'.
Paul Eggert [Mon, 4 Aug 2003 23:22:47 +0000 (23:22 +0000)]
(__const): Remove.  Use 'const'.

20 years ago[!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is 1.
Paul Eggert [Mon, 4 Aug 2003 22:46:12 +0000 (22:46 +0000)]
[!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is 1.
This merges changes from glibc (merge done by Jim Meyering for coreutils).

20 years ago* getloadavg.c: Sync with Emacs and then change to conform to GNU coding style.
Paul Eggert [Mon, 4 Aug 2003 20:22:52 +0000 (20:22 +0000)]
* getloadavg.c: Sync with Emacs and then change to conform to GNU coding style.

20 years agoChange copyright notice and spacing to conform to GNU coding style.
Paul Eggert [Mon, 4 Aug 2003 20:21:41 +0000 (20:21 +0000)]
Change copyright notice and spacing to conform to GNU coding style.

20 years agoSync with Emacs. From Dave Love.
Paul Eggert [Mon, 4 Aug 2003 20:12:16 +0000 (20:12 +0000)]
Sync with Emacs.  From Dave Love.

20 years agoreally update from automake
Karl Berry [Mon, 4 Aug 2003 12:59:57 +0000 (12:59 +0000)]
really update from automake

20 years agodepcomp update from automake
Karl Berry [Sun, 3 Aug 2003 13:09:08 +0000 (13:09 +0000)]
depcomp update from automake

20 years ago* stdbool_.h (_Bool): Make it signed char, instead of an enum type.
Paul Eggert [Sun, 3 Aug 2003 07:13:25 +0000 (07:13 +0000)]
* stdbool_.h (_Bool): Make it signed char, instead of an enum type.

20 years ago(_Bool): Make it signed char instead of an enum type.
Paul Eggert [Sun, 3 Aug 2003 07:12:50 +0000 (07:12 +0000)]
(_Bool): Make it signed char instead of an enum type.

20 years ago.
Karl Berry [Fri, 1 Aug 2003 07:12:35 +0000 (07:12 +0000)]
.

20 years agoAdd a TODO.
Bruno Haible [Thu, 31 Jul 2003 14:51:31 +0000 (14:51 +0000)]
Add a TODO.

20 years agoNew module 'getpass-gnu'.
Bruno Haible [Thu, 31 Jul 2003 14:47:20 +0000 (14:47 +0000)]
New module 'getpass-gnu'.

20 years agoupdate from texinfo
Karl Berry [Thu, 31 Jul 2003 12:40:42 +0000 (12:40 +0000)]
update from texinfo

20 years ago* strerror.c: Include config.h, limits.h. Declare sprintf.
Paul Eggert [Thu, 31 Jul 2003 07:29:30 +0000 (07:29 +0000)]
* strerror.c: Include config.h, limits.h.  Declare sprintf.
(strerror): Don't assume that a printable int fits in 14 bytes.

20 years agoInclude config.h, limits.h. Declare sprintf.
Paul Eggert [Thu, 31 Jul 2003 07:28:59 +0000 (07:28 +0000)]
Include config.h, limits.h.  Declare sprintf.
(strerror): Don't assume that a printable int fits in 14 bytes.

20 years agoFix comments to identify Solaris versions using the same version
Paul Eggert [Thu, 31 Jul 2003 06:27:05 +0000 (06:27 +0000)]
Fix comments to identify Solaris versions using the same version
numbers that Sun does.

20 years agoupdate from texinfo
Karl Berry [Mon, 28 Jul 2003 18:42:31 +0000 (18:42 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Mon, 28 Jul 2003 00:00:37 +0000 (00:00 +0000)]
update from texinfo

20 years agoChange getline and getdelim return type to ssize_t.
Bruno Haible [Thu, 24 Jul 2003 15:23:15 +0000 (15:23 +0000)]
Change getline and getdelim return type to ssize_t.

20 years agoupdate from texinfo
Karl Berry [Thu, 24 Jul 2003 15:07:08 +0000 (15:07 +0000)]
update from texinfo

20 years agoupdate from automake, really update config.sub
Karl Berry [Thu, 24 Jul 2003 12:35:30 +0000 (12:35 +0000)]
update from automake, really update config.sub

20 years agoupdate from texinfo
Karl Berry [Thu, 24 Jul 2003 00:42:09 +0000 (00:42 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Thu, 24 Jul 2003 00:40:07 +0000 (00:40 +0000)]
update from texinfo

20 years agoupdate from prep
Karl Berry [Wed, 23 Jul 2003 13:02:13 +0000 (13:02 +0000)]
update from prep