gnulib.git
20 years ago(__INT_TO_PTR): Revert change of 2003-03-13; it breaks C++ compilation.
Paul Eggert [Fri, 11 Jul 2003 23:33:34 +0000 (23:33 +0000)]
(__INT_TO_PTR): Revert change of 2003-03-13; it breaks C++ compilation.
[!__GNUC__ || !__STDC__] (obstack_finish): Cast result to void*.

20 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:11:35 +0000 (20:11 +0000)]
*** empty log message ***

20 years ago(Makefile.am): Add strchrnul.h.
Jim Meyering [Thu, 10 Jul 2003 20:11:28 +0000 (20:11 +0000)]
(Makefile.am): Add strchrnul.h.

20 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:17:46 +0000 (11:17 +0000)]
*** empty log message ***

20 years agoRemove trailing blanks.
Jim Meyering [Thu, 10 Jul 2003 11:17:36 +0000 (11:17 +0000)]
Remove trailing blanks.
Make cpp indentation consistent.

20 years ago*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 09:42:42 +0000 (09:42 +0000)]
*** empty log message ***

20 years agoRemove trailing blank.
Jim Meyering [Thu, 10 Jul 2003 09:42:11 +0000 (09:42 +0000)]
Remove trailing blank.

20 years agoThis file is now automatically regenerated from libc; regenerate it.
Paul Eggert [Thu, 10 Jul 2003 05:08:48 +0000 (05:08 +0000)]
This file is now automatically regenerated from libc; regenerate it.

20 years agoSort sublists. Add $LIBCSRC/sysdeps/generic/strtoul.c.
Paul Eggert [Thu, 10 Jul 2003 05:07:45 +0000 (05:07 +0000)]
Sort sublists.  Add $LIBCSRC/sysdeps/generic/strtoul.c.
In comments, add more libc files that differ from gnulib for one
reason or another; we'd like this list to be smaller but for now
let's document what we have.

20 years ago* alloca_.h, euidaccess.c, getpass.c, memrchr.c, obstack.h,
Paul Eggert [Wed, 9 Jul 2003 23:46:58 +0000 (23:46 +0000)]
* alloca_.h, euidaccess.c, getpass.c, memrchr.c, obstack.h,
posixver.c, strftime.c, strnlen.c, strverscmp.c:
Switch from LGPL to GPL.

20 years agoSwitch from LGPL to GPL.
Paul Eggert [Wed, 9 Jul 2003 22:48:52 +0000 (22:48 +0000)]
Switch from LGPL to GPL.

20 years agoremove trailing blanks
Jim Meyering [Wed, 9 Jul 2003 17:52:55 +0000 (17:52 +0000)]
remove trailing blanks

20 years ago* srclist-update: Port to POSIX 1003.1-2001 hosts by avoiding the
Paul Eggert [Tue, 8 Jul 2003 23:33:45 +0000 (23:33 +0000)]
* srclist-update: Port to POSIX 1003.1-2001 hosts by avoiding the
use of GNU extensions.  Change "x=`eval echo $x`" to the shorter
and sweeter "eval x=$x".

20 years agoGet lib/argp* from glibc.
Paul Eggert [Tue, 8 Jul 2003 23:25:13 +0000 (23:25 +0000)]
Get lib/argp* from glibc.

20 years ago* mktime.c: Fix some boundary cases and remove need for floating point.
Paul Eggert [Mon, 7 Jul 2003 23:12:25 +0000 (23:12 +0000)]
* mktime.c: Fix some boundary cases and remove need for floating point.

20 years agoFix some boundary cases and remove need for floating point.
Paul Eggert [Mon, 7 Jul 2003 23:11:52 +0000 (23:11 +0000)]
Fix some boundary cases and remove need for floating point.

Issue a compile-time diagnostic if time_t is floating point, or if
two's complement arithmetic is not in effect, or if arithmetic
right shift does not propagate the sign.  These assumptions were
all in the original code but they weren't checked.

(TIME_T_MIDPOINT, verify): New macros.
(__isleap): Remove; it has integer overflow problems.
(leapyear): New function, without those problems.
(ydhms_tm_diff): Remove; splitting into two parts.
(ydhms_diff): New function, containing the arithmetic part of
the old ydhms_tm_diff function.  Issue a compile-time
diagnostic if we are not using C99 integer division.
Avoid casts when possible.
(guess_time_tm): New function, containing the checking part of
the old ydhms_tm_diff function.  Return the new value, rather than
the difference between it and the old.  Accept a new argument T
so that *T specifies the old value.  Check for overflow in the result.

(__mktime_internal): Use a time_t offset, not a long int offset.
This undoes the 2003-06-04 change, which is no longer needed now
that we have better overflow checking.
(localtime_offset): Likewise.

(__mktime_internal): Avoid harmful overflow on hosts where time_t
and long are 64-bit but int is only 32-bit.
(ydhms_diff): Use long int to store year1 and yday1.
Issue a compile-time diagnostic if long int is not wide enough.

(__mktime_internal): Use long int to store adjusted year and yday.
Use plain C rather than preprocessor commands, if that doesn't
affect efficiency.
Check for overflow (and try to repair) after each probe
rather than checking only at the very end.  This avoids some bugs
(e.g., southern hemisphere, behind GMT, and GMT offset at minimum time
does not equal GMT offset at maximum time).
Use integer to check for overflow rather than floating point; this
is more portable to non-IEEE hosts, and is a tad faster.
When we detect that we are oscillating between two values,
don't check whether tm_isdst has the requested value, since
we already know the answer.  When tm_isdst has the wrong value,
use a different heuristic to find the right one, based on the
extreme values actually observed in practice in tz2003a,
rather than the (overly optimistic) "previous 3 calendar quarters".

(not_equal_tm, print_tm, check_result): Use "const T" rather than
"T const" to accommodate glibc style.
(check_result): Use less-confusing report format.  "long" -> "long int.
(main): Likewise.
Don't loop if the iteration overflows time_t.
Allow a negative step in the iteration.

20 years agoupdate
Karl Berry [Sun, 6 Jul 2003 21:36:06 +0000 (21:36 +0000)]
update

20 years agospelling.
Bruno Haible [Fri, 4 Jul 2003 14:27:29 +0000 (14:27 +0000)]
spelling.

20 years agoconfig.guess from prep
Karl Berry [Thu, 3 Jul 2003 12:23:08 +0000 (12:23 +0000)]
config.guess from prep

20 years ago* lib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
Paul Eggert [Tue, 1 Jul 2003 21:07:13 +0000 (21:07 +0000)]
* lib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.
* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
xreadlink.c now includes it unconditionally.

Patch proposed in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-06/msg00167.html>.

20 years agoIgnore <unistd.h>.
Bruno Haible [Tue, 1 Jul 2003 10:28:31 +0000 (10:28 +0000)]
Ignore <unistd.h>.

20 years agoPartial doc of xalloc module, taken from GSS project.
Bruno Haible [Mon, 30 Jun 2003 09:52:51 +0000 (09:52 +0000)]
Partial doc of xalloc module, taken from GSS project.

20 years ago.
Karl Berry [Fri, 27 Jun 2003 07:19:35 +0000 (07:19 +0000)]
.

20 years agocopyright update from automake
Karl Berry [Thu, 26 Jun 2003 12:22:18 +0000 (12:22 +0000)]
copyright update from automake

20 years agoProvide the correct errno.
Bruno Haible [Thu, 26 Jun 2003 11:03:35 +0000 (11:03 +0000)]
Provide the correct errno.

20 years agoModule 'human' now depends on module 'stdbool'.
Bruno Haible [Thu, 26 Jun 2003 10:36:04 +0000 (10:36 +0000)]
Module 'human' now depends on module 'stdbool'.

20 years ago.
Karl Berry [Thu, 26 Jun 2003 07:12:21 +0000 (07:12 +0000)]
.

20 years agoNew module 'readlink'.
Bruno Haible [Wed, 25 Jun 2003 20:54:21 +0000 (20:54 +0000)]
New module 'readlink'.

20 years agoTest for ssize_t. Needed for portability to mingw32.
Bruno Haible [Wed, 25 Jun 2003 20:33:15 +0000 (20:33 +0000)]
Test for ssize_t. Needed for portability to mingw32.

20 years agoTest for ssize_t. Needed for portability to mingw32.
Bruno Haible [Wed, 25 Jun 2003 09:20:53 +0000 (09:20 +0000)]
Test for ssize_t. Needed for portability to mingw32.

20 years agoupdate mkinstalldirs from automake
Karl Berry [Sun, 22 Jun 2003 22:47:40 +0000 (22:47 +0000)]
update mkinstalldirs from automake

20 years agoAssume ANSI C.
Bruno Haible [Fri, 20 Jun 2003 20:55:34 +0000 (20:55 +0000)]
Assume ANSI C.

20 years agoupdate from prep
Karl Berry [Wed, 18 Jun 2003 12:27:31 +0000 (12:27 +0000)]
update from prep

20 years ago*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 06:03:55 +0000 (06:03 +0000)]
*** empty log message ***

20 years agoMerge changes from coreutils.
Jim Meyering [Wed, 18 Jun 2003 06:03:29 +0000 (06:03 +0000)]
Merge changes from coreutils.

Include <string.h> and <stdlib.h> unconditionally.
Remove explicit declarations of xmalloc and realloc.
Include xalloc.h.
(read_utmp): Remove anachronistic cast of xmalloc.

20 years agoAssume C89, so PARAMS isn't needed.
Paul Eggert [Wed, 18 Jun 2003 05:52:19 +0000 (05:52 +0000)]
Assume C89, so PARAMS isn't needed.

20 years agoAdd a note about empty files.
Bruno Haible [Thu, 12 Jun 2003 11:12:14 +0000 (11:12 +0000)]
Add a note about empty files.

20 years ago.
Karl Berry [Thu, 12 Jun 2003 07:12:13 +0000 (07:12 +0000)]
.

20 years agoFix typo in Makefile.am snippet.
Bruno Haible [Wed, 11 Jun 2003 18:57:06 +0000 (18:57 +0000)]
Fix typo in Makefile.am snippet.

20 years agoAdd a section "how to add a new module", suggested by Simon Josefsson.
Bruno Haible [Wed, 11 Jun 2003 10:57:36 +0000 (10:57 +0000)]
Add a section "how to add a new module", suggested by Simon Josefsson.

20 years agoNew module 'sysexits'.
Bruno Haible [Wed, 11 Jun 2003 10:42:09 +0000 (10:42 +0000)]
New module 'sysexits'.

20 years ago*** empty log message ***
Jim Meyering [Wed, 11 Jun 2003 08:50:42 +0000 (08:50 +0000)]
*** empty log message ***

20 years ago[LSTAT]: Compile/use slash_aware_lstat only if it is necessary.
Jim Meyering [Wed, 11 Jun 2003 08:50:33 +0000 (08:50 +0000)]
[LSTAT]: Compile/use slash_aware_lstat only if it is necessary.

20 years ago.
Karl Berry [Wed, 11 Jun 2003 07:11:11 +0000 (07:11 +0000)]
.

20 years agoNew modules strchrnul, argp.
Bruno Haible [Tue, 10 Jun 2003 12:21:16 +0000 (12:21 +0000)]
New modules strchrnul, argp.

20 years agoNew module strchrnul.
Bruno Haible [Tue, 10 Jun 2003 12:13:31 +0000 (12:13 +0000)]
New module strchrnul.

20 years agoNew module argp.
Bruno Haible [Tue, 10 Jun 2003 11:29:45 +0000 (11:29 +0000)]
New module argp.

20 years agoargp facility from glibc-20030610.
Bruno Haible [Tue, 10 Jun 2003 11:19:46 +0000 (11:19 +0000)]
argp facility from glibc-20030610.

20 years agoMake .h file creation more reliable.
Bruno Haible [Sat, 7 Jun 2003 16:41:48 +0000 (16:41 +0000)]
Make .h file creation more reliable.

20 years agoAvoid passive voice in comment.
Bruno Haible [Sat, 7 Jun 2003 16:18:09 +0000 (16:18 +0000)]
Avoid passive voice in comment.

20 years agoupdate from prep
Karl Berry [Sat, 7 Jun 2003 13:08:19 +0000 (13:08 +0000)]
update from prep

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:30:30 +0000 (10:30 +0000)]
*** empty log message ***

20 years agoPut `Free Software Foundation, Inc.'
Jim Meyering [Sat, 7 Jun 2003 10:30:19 +0000 (10:30 +0000)]
Put `Free Software Foundation, Inc.'
in place of my name in the copyright comment.
Remove definition and uses of __P.

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:19:24 +0000 (10:19 +0000)]
*** empty log message ***

20 years agoDon't declare xmalloc explicitly.
Jim Meyering [Sat, 7 Jun 2003 10:19:12 +0000 (10:19 +0000)]
Don't declare xmalloc explicitly.
Instead, include "xalloc.h".

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:16:37 +0000 (10:16 +0000)]
*** empty log message ***

20 years ago(readtokens): Remove anachronistic casts of xmalloc,
Jim Meyering [Sat, 7 Jun 2003 10:16:29 +0000 (10:16 +0000)]
(readtokens): Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values.

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:10:42 +0000 (10:10 +0000)]
*** empty log message ***

20 years agoRemove definition/uses of PARAMS.
Jim Meyering [Sat, 7 Jun 2003 10:10:31 +0000 (10:10 +0000)]
Remove definition/uses of PARAMS.

20 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:07:42 +0000 (10:07 +0000)]
*** empty log message ***

20 years agoFrom coreutils.
Jim Meyering [Sat, 7 Jun 2003 10:07:29 +0000 (10:07 +0000)]
From coreutils.
(xgetcwd): Include "xgetcwd.h".
Improve comment.

21 years ago.
Karl Berry [Sat, 7 Jun 2003 07:20:56 +0000 (07:20 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 06:10:16 +0000 (06:10 +0000)]
*** empty log message ***

21 years agoUse $(...) notation, not @...@ for AC_REPLACE'd variables.
Jim Meyering [Sat, 7 Jun 2003 06:07:38 +0000 (06:07 +0000)]
Use $(...) notation, not @...@ for AC_REPLACE'd variables.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 21:13:39 +0000 (21:13 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 21:07:23 +0000 (21:07 +0000)]
Merge from coreutils.
(same_name): Declare *_basename locals to be `const'.
Consolidate declarations and initializations of *_base* locals.

21 years agoRename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.
Bruno Haible [Fri, 6 Jun 2003 20:59:34 +0000 (20:59 +0000)]
Rename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 20:50:44 +0000 (20:50 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 20:50:35 +0000 (20:50 +0000)]
Merge from coreutils.
This avoids a core dump on systems without GNU putenv,
when running `env -u SOME_ALREADY_UNSET_VARIABLE'.

(__set_errno, LOCK, UNLOCK): Define.
(unsetenv): New static function, from GNU libc.
(rpl_putenv): Use it.

21 years agoMoved here from stdbool.h.in.
Bruno Haible [Fri, 6 Jun 2003 20:49:29 +0000 (20:49 +0000)]
Moved here from stdbool.h.in.

21 years agoMove to stdbool_.h.
Bruno Haible [Fri, 6 Jun 2003 20:49:17 +0000 (20:49 +0000)]
Move to stdbool_.h.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 20:16:13 +0000 (20:16 +0000)]
*** empty log message ***

21 years agoRemove trailing blanks.
Jim Meyering [Fri, 6 Jun 2003 20:16:03 +0000 (20:16 +0000)]
Remove trailing blanks.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 19:46:10 +0000 (19:46 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 19:45:59 +0000 (19:45 +0000)]
Merge from coreutils.
Remove declaration of statfs.
It conflicted with one from OSF/1 5.1 in <sys/mount.h>.

21 years ago.
Jim Meyering [Fri, 6 Jun 2003 19:20:05 +0000 (19:20 +0000)]
.

21 years agoInclude <stdbool.h> unconditionally.
Jim Meyering [Fri, 6 Jun 2003 19:19:57 +0000 (19:19 +0000)]
Include <stdbool.h> unconditionally.

21 years agomktime.c: Assume freestanding C89 or better.
Paul Eggert [Thu, 5 Jun 2003 20:56:42 +0000 (20:56 +0000)]
mktime.c: Assume freestanding C89 or better.

21 years agoAssume freestanding C89 or better.
Paul Eggert [Thu, 5 Jun 2003 20:07:59 +0000 (20:07 +0000)]
Assume freestanding C89 or better.
(HAVE_LIMITS_H): Remove.  Assume it's 1.
(__P): Remove; not used.
(INT_MIN, INT_MAX): Remove; <limits.h> defines them.
(mktime, not_equal_tm, print_tm, check_result,
main): Use prototypes.  Use const * where appropriate.
(main): Fix typo in testing code that uncovered by above changes.

21 years agomktime.c: Fix Debian bug 177940.
Paul Eggert [Thu, 5 Jun 2003 06:44:12 +0000 (06:44 +0000)]
mktime.c: Fix Debian bug 177940.

21 years agoFix Debian bug 177940
Paul Eggert [Thu, 5 Jun 2003 06:43:15 +0000 (06:43 +0000)]
Fix Debian bug 177940
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177940>.
(localtime_offset): Now long int, not time_t, because we want it
to be guaranteed to be signed.  All uses changed.
(__mktime_internal): If overflow would occur when adding offset,
don't add it.

21 years agoMerge human.c changes from coreutils.
Paul Eggert [Thu, 5 Jun 2003 04:35:13 +0000 (04:35 +0000)]
Merge human.c changes from coreutils.

21 years ago(new_exclude, add_exclude): Remove casts that are
Paul Eggert [Wed, 4 Jun 2003 23:35:46 +0000 (23:35 +0000)]
(new_exclude, add_exclude): Remove casts that are
unnecessary now that we assume C89 or better.  This change
imported from coreutils.

21 years ago* exclude.c: (new_exclude, add_exclude): Remove casts that are
Paul Eggert [Wed, 4 Jun 2003 23:35:22 +0000 (23:35 +0000)]
* exclude.c: (new_exclude, add_exclude): Remove casts that are
unnecessary now that we assume C89 or better.  This change
imported from coreutils.

21 years agoEnsure we use gnulib mktime rather than glibc's mktime, on hosts
Paul Eggert [Wed, 4 Jun 2003 20:09:47 +0000 (20:09 +0000)]
Ensure we use gnulib mktime rather than glibc's mktime, on hosts
where mktime isn't the inverse of localtime (negative time_t).

21 years ago.h files should stand alone, but we shouldn't include <sys/types.h>
Paul Eggert [Wed, 4 Jun 2003 19:22:29 +0000 (19:22 +0000)]
.h files should stand alone, but we shouldn't include <sys/types.h>
if we can get away with just <stddef.h>.

21 years agoupdate from prep
Karl Berry [Tue, 3 Jun 2003 12:55:44 +0000 (12:55 +0000)]
update from prep

21 years ago(version): new variable.
Karl Berry [Mon, 2 Jun 2003 15:26:20 +0000 (15:26 +0000)]
(version): new variable.
(--version): new option.
(usage): improve message.

21 years ago*** empty log message ***
Jim Meyering [Mon, 2 Jun 2003 08:23:24 +0000 (08:23 +0000)]
*** empty log message ***

21 years ago Fix some minor time-related bugs with POSIX time arguments.
Jim Meyering [Mon, 2 Jun 2003 08:22:29 +0000 (08:22 +0000)]
Fix some minor time-related bugs with POSIX time arguments.
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts).  And some invalid
time stamps were being accepted, e.g. September 31.

* posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.

21 years ago Fix some minor time-related bugs with POSIX time arguments.
Jim Meyering [Mon, 2 Jun 2003 08:20:57 +0000 (08:20 +0000)]
Fix some minor time-related bugs with POSIX time arguments.
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts).  And some invalid
time stamps were being accepted, e.g. September 31.

* posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
* posixtm.c: Likewise.
[HAVE_STDBOOL_H]: Include <stdbool.h>.
(bool, false, true) [!HAVE_STDBOOL_H]: New type.
(t): Remove static var.
(year, posix_time_parse): Now takes struct tm * arg to modify, instead
of static var.  All uses changed.
(year): Do not reject years before 1900; they can occur with
64-bit time_t.
(posix_time_parse): Do not check for out-of-range components;
that is now the caller's responsibility, since our checks were
only approximations.
(posixtime): Use mktime to check for out-of-range components,
since it knows them exactly.
If mktime returns (time_t) -1, check whether an error actually occurred
by invoking localtime on -1.
(main) [TEST_POSIXTIME]: Check for input data errors, and report
posixtime failures better.
Improve the test data (in comments only).

21 years ago.
Karl Berry [Sat, 31 May 2003 12:45:23 +0000 (12:45 +0000)]
.

21 years ago.
Karl Berry [Sat, 31 May 2003 07:13:34 +0000 (07:13 +0000)]
.

21 years agomktime update from libc
Karl Berry [Fri, 30 May 2003 15:06:41 +0000 (15:06 +0000)]
mktime update from libc

21 years agoconfig.rpath: get from gettext.
Karl Berry [Fri, 30 May 2003 14:58:40 +0000 (14:58 +0000)]
config.rpath: get from gettext.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:29:10 +0000 (13:29 +0000)]
Upgrade to gettext-0.12.1.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:23:40 +0000 (13:23 +0000)]
Upgrade to gettext-0.12.1.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:19:52 +0000 (13:19 +0000)]
Upgrade to gettext-0.12.1.

21 years agoAdd gettext release stamp.
Bruno Haible [Fri, 30 May 2003 13:12:15 +0000 (13:12 +0000)]
Add gettext release stamp.

21 years agoin lib:
Paul Eggert [Thu, 29 May 2003 07:21:59 +0000 (07:21 +0000)]
in lib:

* addext.c, backupfile.c, fsusage.c, human.c, pathmax.h,
rpmatch.c, userspec.c, xreadlink.c, xstrtol.c: Include <limits.h>
without checking for HAVE_LIMITS_H.
* backupfile.c, fsusage.c, hash.c, human.c, safe-read.c, userspec.c,
xstrtol.c (CHAR_BIT) : Don't define, since <limits.h> is guaranteed
to do that.
* fatal.c: Include <stdarg.h> without checking for __STDC__.
* exclude.c: Include <stdbool.h> unconditionally.
* tempname.c: Include <stddef.h> unconditionally.
* hash.c: Include <limits.h>, since we no longer define CHAR_BIT.
* modechange.c, rpmatch.c (NULL): Don't define, since
<stddef.h> does that.
* quote.c: Dont include <stddef.h> or <sys/types.h>; not needed.
* safe-read.c (INT_MAX): Don't define, since <limits.h> does that.
* safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed.
* xstrtol.c: Likewise.
* safe-read.c: Remove TYPE_SIGNED; no longer needed.
* savedir.c: Include <stddef.h> instead of defining NULL.

in m4:

* backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
* fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
* human.m4 (gl_HUMAN): Likewise.
* pathmax.m4 (gl_PATHMAX): Likewise.
* rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
* userspec.m4 (gl_USERSPEC): Likewise.
* xreadlink.m4 (gl_XREADLINK): Likewise.
* m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
* quote.m4 (gl_QUOTE): Don't check for stddef.h.