gnulib.git
17 years agoCommentary sync from coreutils.
Paul Eggert [Sun, 9 Jul 2006 01:31:04 +0000 (01:31 +0000)]
Commentary sync from coreutils.

17 years ago.
Karl Berry [Fri, 7 Jul 2006 07:57:53 +0000 (07:57 +0000)]
.

17 years agoAdd arpa_inet module.
Simon Josefsson [Fri, 7 Jul 2006 07:41:24 +0000 (07:41 +0000)]
Add arpa_inet module.

17 years ago2006-07-06 Jim Hyslop <jhyslop@dreampossible.ca> (tiny change)
Simon Josefsson [Fri, 7 Jul 2006 07:37:16 +0000 (07:37 +0000)]
2006-07-06  Jim Hyslop  <jhyslop@dreampossible.ca>  (tiny change)

* lib/getaddrinfo.c: Changes to compile under MSVC6: changed
'#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside
brackets.  Other minor changes to suppress some compiler
warnings.

17 years ago2006-07-07 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Thu, 6 Jul 2006 23:56:00 +0000 (23:56 +0000)]
2006-07-07  Simon Josefsson  <jas@extundo.com>

* tests/test-crc.c: Change expected crc value, the test vector
were probably computed using the old broken crc.c?

17 years ago* lib/getloadavg.c: Use __VMS, not VMS.
Paul Eggert [Thu, 6 Jul 2006 23:29:27 +0000 (23:29 +0000)]
* lib/getloadavg.c: Use __VMS, not VMS.
* lib/getopt.c: Likewise.
* lib/getpagesize.h: Likewise.
* lib/glob.c: Remove most VMS cruft; it hasn't been tested for a while and
probably does not work.
* lib/backupfile.c [HAVE_DIRENT_H && ! HAVE_NDIR_H]:
Don't worry about this obsolete case any more.
(HAVE_DIR): Remove.  All uses removed; we now assume you can read
directories.
* lib/dirfd.h [HAVE_DIRENT_H && ! HAVE_NDIR_H]: Don't
worry about this obsolete case any more.
* lib/fts.c: Likewise.
* lib/getcwd.c: Likewise.
* lib/glob.h: Likewise.
* lib/savedir.c: Likewise.
* m4/backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
of invoking obsolescent AC_HEADER_DIRENT macro.
* m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
* m4/d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
* m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
* m4/fts.m4 (gl_FUNC_FTS_CORE): Likewise.
* m4/getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
* m4/glob.m4 (gl_PREREQ_GLOB): Likewise.
* m4/savedir.m4 (gl_SAVEDIR): Likewise.
* m4/readdir.m4: Remove; no longer needed.

17 years ago* _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
Paul Eggert [Thu, 6 Jul 2006 22:16:59 +0000 (22:16 +0000)]
* _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
with only one argument, for Autoconf 2.60.
* fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
expand to nothing, so add a shell command to avoid syntax error.
* getpass.m4 (gl_PREREQ_GETPASS): Likewise.

17 years ago* lib/.cppi-disable: Add wcwidth.
Paul Eggert [Thu, 6 Jul 2006 21:51:28 +0000 (21:51 +0000)]
* lib/.cppi-disable: Add wcwidth.
* lib/fnmatch.c (ISBLANK): Remove.  All uses changed to isblank.
(isblank) [! (defined isblank || HAVE_DECL_ISBLANK)]: New macro.
(ISGRAPH): Remove.  All uses changed to isgraph.
(FOLD) [!defined _LIBC]: Remove special case.
* lib/getdate.y (lookup_word): Remove no-longer-needed call to islower.
* lib/regext_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not
HAVE_ISBLANK.
* lib/strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case.

* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
no longer needed.  Check for isblank decl.
* m4/mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
* m4/regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
of existence.

17 years ago* modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL,
Paul Eggert [Thu, 6 Jul 2006 20:49:09 +0000 (20:49 +0000)]
* modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL,
not gl_PREREQ_GETUSERSHELL.

17 years ago* strtod.c (strtod): cast the argument of tolower to unsigned char.
Ralf Wildenhues [Thu, 6 Jul 2006 17:23:55 +0000 (17:23 +0000)]
* strtod.c (strtod): cast the argument of tolower to unsigned char.

17 years ago2006-07-06 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Thu, 6 Jul 2006 13:53:54 +0000 (13:53 +0000)]
2006-07-06  Simon Josefsson  <jas@extundo.com>

* modules/sys_socket (Files): Add m4/sockpfaf.m4 (this module is
now the canonical place for the M4 file).

* modules/getaddrinfo (Files): Remove m4/sockpfaf.m4, we get it
from the sys_socket dependency now.

* modules/inet_pton (Files): Ditto.

* modules/inet_ntop (Files): Ditto.

17 years agoObsoleting STDC_HEADERS. From Derek Price.
Bruno Haible [Thu, 6 Jul 2006 12:55:17 +0000 (12:55 +0000)]
Obsoleting STDC_HEADERS. From Derek Price.

17 years ago* lib/memcasecmp.c: Include <limits.h>.
Paul Eggert [Wed, 5 Jul 2006 23:35:19 +0000 (23:35 +0000)]
* lib/memcasecmp.c: Include <limits.h>.
(memcasecmp): Don't assume UCHAR_MAX <= INT_MAX.
* lib/strtod.c (strtod): Don't assume isspace works on negative chars.
Don't assume isdigit succeeds only on '0' through '9'.

* lib/exclude.c (IN_CTYPE_DOMAIN, is_space): Remove; no longer needed.
All uses of is_space replaced by isspace.
* lib/fnmatch.c (ISASCII): Remove; no longer needed.  All uses removed.
(ISPRINT, ISDIGIT, ISALNUM, ISALPHA, ISCNTRL, ISLOWER, ISPUNCT):
(ISSPACE, ISUPPER, ISXDIGIT): Remove; no longer needed.  All uses
replaced by isprint etc.
* lib/getdate.y (IN_CTYPE_DOMAIN, ISSPACE, ISALPHA, ISLOWER): Likewise.
* lib/getusershell.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.
* lib/memcasecmp.c (IN_CTYPE_DOMAIN, ISLOWER, TOUPPER): Likewise.
* lib/strtod.c (IN_CTYPE_DOMAIN, ISSPACE, ISDIGIT, TOLOWER): Likewise.
* lib/strtol.c (IN_CTYPE_DOMAIN): Likewise.
* lib/xstrtol.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.

* m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
rather than AC_CHECK_DECLS for strtoimax and strtoumax.
* m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
All uses removed.
* m4/strtol.m4 (gl_PREREQ_STRTOL): Likewise.
* m4/strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
* m4/exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
* m4/getdate.m4 (gl_GETDATE): Likewise.
* m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
* m4/memcasecmp.m4 (gl_MEMCASECMP): Likewise.
* m4/strtod.m4 (gl_FUNC_STRTOD): Likewise.
* m4/strtol.m4 (gl_PREREQ_STRTOL): Likewise.
* m4/strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
* m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
* m4/exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
needed.
* m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
no longer needed.
* m4/exclude.m4 (gl_EXCLUDE): Likewise.
* m4/getdate.m4 (gl_GETDATE): Likewise.
* m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
* m4/memcasecmp.m4 (gl_MEMCASECMP): Likewise.
* m4/strtod.m4 (gl_FUNC_STRTOD): Likewise.
* m4/strtol.m4 (gl_PREREQ_STRTOL): Likewise.
* m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.

17 years ago* modules/getaddrinfo (Depends-on): Add snprintf.
Eric Blake [Wed, 5 Jul 2006 18:10:56 +0000 (18:10 +0000)]
* modules/getaddrinfo (Depends-on): Add snprintf.

17 years ago* sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
Eric Blake [Wed, 5 Jul 2006 18:06:09 +0000 (18:06 +0000)]
* sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
to avoid 'header present but could not be compiled' on cygwin.

17 years ago* getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if
Eric Blake [Wed, 5 Jul 2006 17:53:09 +0000 (17:53 +0000)]
* getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if
missing from netdb.h.
* getaddrinfo.c (includes): Include inet_ntop and snprintf.

17 years agoFix for cross-compilation.
Bruno Haible [Wed, 5 Jul 2006 12:46:39 +0000 (12:46 +0000)]
Fix for cross-compilation.

17 years ago* modules/dirname-tests: New test module.
Eric Blake [Tue, 4 Jul 2006 19:23:08 +0000 (19:23 +0000)]
* modules/dirname-tests: New test module.
* tests/test-dirname.c: New file, replacing dirname.c
TEST_DIRNAME section that was recently deleted.

17 years agoAssume ANSI C.
Bruno Haible [Tue, 4 Jul 2006 16:46:23 +0000 (16:46 +0000)]
Assume ANSI C.

17 years agoChange comments to not mention AC_HEADER_STDC.
Bruno Haible [Tue, 4 Jul 2006 16:40:34 +0000 (16:40 +0000)]
Change comments to not mention AC_HEADER_STDC.

17 years ago.
Karl Berry [Tue, 4 Jul 2006 07:58:05 +0000 (07:58 +0000)]
.

17 years ago* modules/cycle-check (lib_SOURCES): Add same-inode.h.
Paul Eggert [Tue, 4 Jul 2006 07:43:15 +0000 (07:43 +0000)]
* modules/cycle-check (lib_SOURCES): Add same-inode.h.

17 years ago* absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
Paul Eggert [Tue, 4 Jul 2006 07:38:59 +0000 (07:38 +0000)]
* absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
to the absolute name, not just one, to bypass Sun C 5.8's
"warning: #include of /usr/include/... may be non-portable".

17 years ago* m4/absolute-header.m4: Renamed from full-header-path.m4.
Paul Eggert [Tue, 4 Jul 2006 06:37:09 +0000 (06:37 +0000)]
* m4/absolute-header.m4: Renamed from full-header-path.m4.
This is to keep the terminology clean; POSIX talks about
"absolute pathnames", not "full pathnames", but the GNU
Coding Standards say to use "path" for something else;
so use "absolute" to keep both sides happy.
(gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
Set gl_absolute_header, not gl_full_header_path.
Set gl_cv_absolute_<header>, not gl_full_path_<header>.
Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
All uses changed.

17 years ago* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
Paul Eggert [Tue, 4 Jul 2006 05:59:05 +0000 (05:59 +0000)]
* cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
macro is used before the first cycle_check call.

17 years ago* stdint_.h: Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
Paul Eggert [Tue, 4 Jul 2006 04:48:23 +0000 (04:48 +0000)]
* stdint_.h: Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
MacOS X 10.4.6.  Don't mention <sys/int_types.h>.

17 years ago* modules/dirname (Depends-on): Add xstrndup.
Eric Blake [Mon, 3 Jul 2006 17:50:35 +0000 (17:50 +0000)]
* modules/dirname (Depends-on): Add xstrndup.

17 years agoMerge from coreutils.
Paul Eggert [Mon, 3 Jul 2006 08:32:46 +0000 (08:32 +0000)]
Merge from coreutils.

17 years ago* wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
Eric Blake [Sun, 2 Jul 2006 22:15:50 +0000 (22:15 +0000)]
* wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.

17 years agoautoupdate
Karl Berry [Sun, 2 Jul 2006 13:20:04 +0000 (13:20 +0000)]
autoupdate

17 years ago* stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
Paul Eggert [Sun, 2 Jul 2006 09:12:49 +0000 (09:12 +0000)]
* stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
test cases, so that config.log is a bit easier to follow.

17 years ago* stdint_.h (intmax_t, uintmax_t): Prefer long to long long if
Paul Eggert [Sun, 2 Jul 2006 09:12:28 +0000 (09:12 +0000)]
* stdint_.h (intmax_t, uintmax_t): Prefer long to long long if
both are 64 bits, since this seems to be the tradition, and this
prevents gcc -Wformat from warning about usages with PRIuMAX.  If
we ever run into a host that prefers long long to long in this
case, we'll need another configure-time test.

17 years ago.
Karl Berry [Sun, 2 Jul 2006 07:57:11 +0000 (07:57 +0000)]
.

17 years agoSimplification rewrite for stdint module.
Paul Eggert [Sun, 2 Jul 2006 06:49:07 +0000 (06:49 +0000)]
Simplification rewrite for stdint module.

* modules/inttypes (Depends-on): No longer depends on stdint.
* modules/stdint (Description): Say more about assumptions.
Say that the fast types might differ.  Say macros are used.
(Files): Remove m4/size_max.m4, m4/wchar_t.m4.  Add m4/longlong.m4.
(Makefile.am): Revise list of substituted symbols to match
new stdint.m4.
* modules/stdint-tests (Files): Add m4/wchar_t.m4, m4/wint_t.m4.
(configure.ac): Add gt_TYPE_WCHAR_T, gt_TYPE_WINT_T.
* tests/test-stdint.c (verify_same_types)
[! (__GNUC__ >= 2 && DO_PEDANTIC)]: Put in a decl, so that
the code conforms to C99/C89.
Test for WCHAR_MIN and WCHAR_MAX only if HAVE_WCHAR_T.
Test for WINT_MIN and WINT_MAX only if HAVE_WINT_T.

* lib/stdint_.h (_GL_STDINT_H): Renamed from _STDINT_H, to avoid
possible collision with system files.
(<stdio.h>, <time.h>, <wchar.h>) [defined __cplusplus && ! defined
__STDC_CONSTANT_MACROS)]: Do not include, since we don't need
WCHAR_MIN and WCHAR_MAX in this case.
(<stddef.h>): Do not include; no longer needed.
(<sys/types.h>): Include if @HAVE_SYS_TYPES_H@, not if
(defined(__OpenBSD__) || defined(__bsdi__) || defined(__sgi)).
(<sys/inttypes.h>): Include if @HAVE_SYS_INTTYPES_H@ &&
!@HAVE_INTTYPES_H@, not if (defined(__FreeBSD__)
&& (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)).
(__STDINT_H__) [@HAVE_STDINT_H@ && defined __sgi && ! defined
__c99]: Define, to work around IRIX <stdint.h> incompatibility.
(@FULL_PATH_STDINT_H@) [!(defined(__sgi) && @HAVE_INTTYPES_H@ &&
!defined(__c99))]: Include in this case too, since it's harmless
now.
(<inttypes.h>) [@HAVE_INTTYPES_H@]: Include, since it's no longer
dangerous to do so.
(@FULL_PATH_INTTYPES_H@) [(defined(__hpux) || defined(_AIX)) &&
@HAVE_INTTYPES_H@]: Do not include, since we now include <inttypes.h>.
(_STDINT_MIN, _STDINT_MAX): New macros.
(int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t):
(uint64_t, int_least8_t, uint_least8_t, int_least16_t):
(uint_least16_t, int_least32_t, uint_least32_t, int_least64_t):
(uint_least64_t, int_fast8_t, uint_fast8_t, int_fast16_t):
(uint_fast16_t, int_fast32_t, uint_fast32_t, int_fast64_t):
(uint_fast64_t, intptr_t, uintptr_t, intmax_t, uintmax_t): Now
macros, not typedefs; this simplifies things quite a bit.
Use long int for all types narrower than int64_t.
(intmax_t, uintmax_t, INTMAX_C, UINTMAX_C):
Define in terms of long long int or int64_t or long int,
not int64_t or int32_t.  This saves some compile-time testing.
(INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX, UINT16_MAX):
(INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN, INT64_MAX):
(UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX, UINT_LEAST8_MAX):
(INT_LEAST16_MIN, INT_LEAST16_MAX, UINT_LEAST16_MAX):
(INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX):
(INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST8_MIN):
(INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN, INT_FAST16_MAX):
(UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX, UINT_FAST32_MAX):
(INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX, INTPTR_MIN):
(INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX):
(PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX):
(SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX):
undef any previous version and define our own version, for
simplicity and consistency with the new macros for types.
(PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX):
(SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX):
Simplify definitions by using _STDINT_MIN and _STDINT_MAX
where appropriate.  Rely on new symbols @PTRDIFF_T_SUFFIX@,
@SIG_ATOMIC_T_SUFFIX@, @SIZE_T_SUFFIX@, @WCHAR_T_SUFFIX@,
@WINT_T_SUFFIX@ to keep things simple here.
(UINT8_C, UINT16_C, UINT32_C, INT64_C, UINT64_C):
Simplify by assuming typical 8/16/32/64 host, since we're
already doing that elsewhere anyway.
Use (LONG_MAX >> 31 >> 31 == 1) rather than @HAVE_LONG_64BIT@,
and assume long long int is 64 bits if available.  This
speeds up 'configure'.

* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
but fix a bug, by requiring at least 64 bits.
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
* m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
AC_TYPE_LONG_LONG_INT.  This macro is obsolete and will go soon.
* m4/ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.

* m4/stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
changes.  Make 2.59 a prerequisite.  Check and substitute for
HAVE_LONG_LONG_INT.  Rely on Autoconf to check for stdint.h and
inttypes.h.  Do not use special include files; just use the
defaults.  Check for sys/inttypes.h and sys/bitypes.h in the usual
way now.  Remove no-longer-needed tests for HAVE_LONG_64BIT,
HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
WINT_MAX.  Check for C99 conformance more strictly, by detecting
bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9.  On the other hand do
not check for things that C99 does not require, e.g., int8_t.  If
a test isn't needed unless <stdint.h> isn't working, and is
unlikely to be needed for any other reason, then don't do it
unless <stdint.h> isn't working.  Do not check for ptrdiff_t or
size_t, since we assume C89 freestanding at least.  Do not check
for sig_atomic_t, wchar_t, or wint_t, since the code now does
the right thing even if the types are not defined.  Instead use:
(gl_STDINT_TYPE_PROPERTIES): New macro.
(gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove.  Don't bother
testing whether <sys/types.h> clashes, as Autoconf does this for
us now.  All uses removed.
(gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
(gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
(gl_CHECK_TYPE_SAME):
Remove; no longer needed.
(gl_STDINT_BITSIZEOF): Don't bother to check whether the type
exists, since we'll return 0 anyway in that case.
(gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.

17 years ago* stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
Eric Blake [Sat, 1 Jul 2006 21:38:47 +0000 (21:38 +0000)]
* stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.

17 years ago* stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
Eric Blake [Sat, 1 Jul 2006 20:46:11 +0000 (20:46 +0000)]
* stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
Reported by Andreas Buening.

17 years ago.
Karl Berry [Sat, 1 Jul 2006 07:59:06 +0000 (07:59 +0000)]
.

17 years agoFix typo, from Jim Hyslop <jhyslop@dreampossible.ca>.
Simon Josefsson [Sat, 1 Jul 2006 06:47:16 +0000 (06:47 +0000)]
Fix typo, from Jim Hyslop <jhyslop@dreampossible.ca>.

17 years ago* stat_.h (rpl_mkdir): Declare inline, to avoid warnings about
Eric Blake [Fri, 30 Jun 2006 04:20:00 +0000 (04:20 +0000)]
* stat_.h (rpl_mkdir): Declare inline, to avoid warnings about
unused static function.

17 years ago* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
Eric Blake [Fri, 30 Jun 2006 04:19:13 +0000 (04:19 +0000)]
* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.

17 years ago* MODULES.html.sh: Add sys_stat.
Eric Blake [Thu, 29 Jun 2006 22:21:39 +0000 (22:21 +0000)]
* MODULES.html.sh: Add sys_stat.
* modules/sys_stat: New module.
* modules/mkstemp (Depends-on): Add sys_stat.

17 years ago* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
Eric Blake [Thu, 29 Jun 2006 22:18:26 +0000 (22:18 +0000)]
* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.

17 years ago* stat_.h: New file.
Eric Blake [Thu, 29 Jun 2006 22:17:41 +0000 (22:17 +0000)]
* stat_.h: New file.

17 years ago* functions.texi (Function Portability): Document missing lstat
Eric Blake [Thu, 29 Jun 2006 22:15:49 +0000 (22:15 +0000)]
* functions.texi (Function Portability): Document missing lstat
on mingw.

17 years ago*** empty log message ***
Jim Meyering [Thu, 29 Jun 2006 21:16:36 +0000 (21:16 +0000)]
*** empty log message ***

17 years ago(Maintainer): Add my name, since with the
Jim Meyering [Thu, 29 Jun 2006 21:15:00 +0000 (21:15 +0000)]
(Maintainer): Add my name, since with the
FPRINTFTIME changes strftime.c has forked from glibc.

17 years agoFrom Derek R. Price:
Jim Meyering [Thu, 29 Jun 2006 21:11:49 +0000 (21:11 +0000)]
From Derek R. Price:
* lib/strftime.c: Assume strftime() exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.

17 years agoVarious small tweaks.
Bruno Haible [Thu, 29 Jun 2006 15:16:56 +0000 (15:16 +0000)]
Various small tweaks.

17 years agoFix a few Changelog entries.
Bruno Haible [Thu, 29 Jun 2006 12:24:29 +0000 (12:24 +0000)]
Fix a few Changelog entries.

17 years agoChange wcwidth license to LGPL.
Bruno Haible [Thu, 29 Jun 2006 11:50:52 +0000 (11:50 +0000)]
Change wcwidth license to LGPL.

17 years ago* MODULES.html.sh: Remove c-bs-a.
Derek R. Price [Thu, 29 Jun 2006 10:59:42 +0000 (10:59 +0000)]
* MODULES.html.sh: Remove c-bs-a.

17 years ago* modules/c-bs-a: Removed - \a is C89.
Derek R. Price [Thu, 29 Jun 2006 10:56:35 +0000 (10:56 +0000)]
* modules/c-bs-a: Removed - \a is C89.
* m4/c-bs-a.m4: Removed.

17 years ago.
Karl Berry [Thu, 29 Jun 2006 07:57:47 +0000 (07:57 +0000)]
.

17 years ago* lib/savedir.c (CLOSEDIR): Remove. All uses changed to closedir.
Paul Eggert [Wed, 28 Jun 2006 22:25:49 +0000 (22:25 +0000)]
* lib/savedir.c (CLOSEDIR): Remove.  All uses changed to closedir.
* m4/savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.

17 years agoFix attribution for last patch.
Paul Eggert [Wed, 28 Jun 2006 22:03:42 +0000 (22:03 +0000)]
Fix attribution for last patch.

17 years ago* fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
Paul Eggert [Wed, 28 Jun 2006 22:00:55 +0000 (22:00 +0000)]
* fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
it's obsolete.
* strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.

17 years agoFix brought over from gettext.
Bruno Haible [Wed, 28 Jun 2006 18:06:12 +0000 (18:06 +0000)]
Fix brought over from gettext.

17 years agoFixes after wcwidth module creation.
Bruno Haible [Wed, 28 Jun 2006 17:03:53 +0000 (17:03 +0000)]
Fixes after wcwidth module creation.

17 years agoFix.
Simon Josefsson [Wed, 28 Jun 2006 16:28:02 +0000 (16:28 +0000)]
Fix.

17 years agoFix the comment fix.
Bruno Haible [Wed, 28 Jun 2006 16:22:49 +0000 (16:22 +0000)]
Fix the comment fix.

17 years ago* xvasprintf.h: Fix comments.
Eric Blake [Wed, 28 Jun 2006 14:00:22 +0000 (14:00 +0000)]
* xvasprintf.h: Fix comments.

17 years ago* modules/wcwidth: New file.
Eric Blake [Wed, 28 Jun 2006 13:11:32 +0000 (13:11 +0000)]
* modules/wcwidth: New file.
* modules/mbchar (Depends-on): Add wcwidth.
* modules/mbswidth (Depends-on): Add wcwidth.
* MODULES.html.sh: Add wcwidth.

17 years ago* mbchar.h (wcwidth): Include wcwidth.h.
Eric Blake [Wed, 28 Jun 2006 13:11:03 +0000 (13:11 +0000)]
* mbchar.h (wcwidth): Include wcwidth.h.
* mbswidth.c (wcwidth): Move from here...
* wcwidth.h: ...to this new file.

17 years ago* mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
Eric Blake [Wed, 28 Jun 2006 13:10:12 +0000 (13:10 +0000)]
* mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
* wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.

17 years agoNative win32 support for getaddrinfo. Add getnameinfo function.
Simon Josefsson [Wed, 28 Jun 2006 11:08:34 +0000 (11:08 +0000)]
Native win32 support for getaddrinfo.  Add getnameinfo function.

17 years agoAdd sys_select module.
Simon Josefsson [Tue, 27 Jun 2006 21:21:13 +0000 (21:21 +0000)]
Add sys_select module.

17 years agoAvoid generating C code that some compilers don't accept.
Bruno Haible [Tue, 27 Jun 2006 15:47:13 +0000 (15:47 +0000)]
Avoid generating C code that some compilers don't accept.

17 years agoResolve clash between stdint.m4 and uintmax_t.m4.
Bruno Haible [Tue, 27 Jun 2006 13:15:26 +0000 (13:15 +0000)]
Resolve clash between stdint.m4 and uintmax_t.m4.

17 years ago* base64.c (B64): Use _ as the formal parameter, not x, to avoid
Paul Eggert [Mon, 26 Jun 2006 21:30:03 +0000 (21:30 +0000)]
* base64.c (B64): Use _ as the formal parameter, not x, to avoid
bug in IBM C V6 for AIX.

17 years agoMake comment more precise.
Bruno Haible [Mon, 26 Jun 2006 19:49:51 +0000 (19:49 +0000)]
Make comment  more precise.

17 years agoCorrect comments.
Bruno Haible [Mon, 26 Jun 2006 18:03:25 +0000 (18:03 +0000)]
Correct comments.

17 years agoFix typo.
Bruno Haible [Mon, 26 Jun 2006 17:49:53 +0000 (17:49 +0000)]
Fix typo.

17 years agoTry harder to get WCHAR_MIN and WCHAR_MAX.
Bruno Haible [Mon, 26 Jun 2006 17:27:53 +0000 (17:27 +0000)]
Try harder to get WCHAR_MIN and WCHAR_MAX.

17 years agoTweak for SGI cc.
Bruno Haible [Mon, 26 Jun 2006 17:03:57 +0000 (17:03 +0000)]
Tweak for SGI cc.

17 years agoPortability to BSD/OS 4.2.
Bruno Haible [Mon, 26 Jun 2006 13:06:51 +0000 (13:06 +0000)]
Portability to BSD/OS 4.2.

17 years ago2006-06-26 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Mon, 26 Jun 2006 08:54:42 +0000 (08:54 +0000)]
2006-06-26  Simon Josefsson  <jas@extundo.com>

* inet_ntop.m4: Don't check for sys/types.h, we assume it is
present.

17 years agostdint module: treat IRIX like OpenBSD.
Bruno Haible [Fri, 23 Jun 2006 20:52:39 +0000 (20:52 +0000)]
stdint module: treat IRIX like OpenBSD.

17 years agoInvent MOSTLYCLEANDIRS.
Bruno Haible [Fri, 23 Jun 2006 19:27:17 +0000 (19:27 +0000)]
Invent MOSTLYCLEANDIRS.

17 years agoTake into account ISO C 99 TC1.
Bruno Haible [Fri, 23 Jun 2006 14:58:59 +0000 (14:58 +0000)]
Take into account ISO C 99 TC1.

17 years ago* glob.c (collated_compare): Remove 'const' uses that weren't needed.
Paul Eggert [Thu, 22 Jun 2006 23:40:20 +0000 (23:40 +0000)]
* glob.c (collated_compare): Remove 'const' uses that weren't needed.

17 years ago2006-06-22 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Thu, 22 Jun 2006 13:08:43 +0000 (13:08 +0000)]
2006-06-22  Simon Josefsson  <jas@extundo.com>

* sockpfaf.m4: Include winsock2.h too, to make it work under
MinGW.

17 years ago.
Karl Berry [Thu, 22 Jun 2006 07:39:52 +0000 (07:39 +0000)]
.

17 years agoTypos.
Simon Josefsson [Wed, 21 Jun 2006 21:21:42 +0000 (21:21 +0000)]
Typos.

17 years agoTypo.
Simon Josefsson [Wed, 21 Jun 2006 17:53:49 +0000 (17:53 +0000)]
Typo.

17 years ago*** empty log message ***
Simon Josefsson [Wed, 21 Jun 2006 17:38:51 +0000 (17:38 +0000)]
*** empty log message ***

17 years agoAdd.
Simon Josefsson [Wed, 21 Jun 2006 17:37:00 +0000 (17:37 +0000)]
Add.

17 years ago2006-06-21 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Wed, 21 Jun 2006 17:36:26 +0000 (17:36 +0000)]
2006-06-21  Simon Josefsson  <jas@extundo.com>

* socket_.h: Don't define WINVER.

17 years agoFix getaddrinfo on Windows 2000.
Simon Josefsson [Wed, 21 Jun 2006 17:22:32 +0000 (17:22 +0000)]
Fix getaddrinfo on Windows 2000.

17 years agoAdd.
Simon Josefsson [Wed, 21 Jun 2006 10:00:31 +0000 (10:00 +0000)]
Add.

17 years agoAdd inet_pton.
Simon Josefsson [Wed, 21 Jun 2006 10:00:08 +0000 (10:00 +0000)]
Add inet_pton.

17 years agoAdd inet_pton module.
Simon Josefsson [Wed, 21 Jun 2006 09:59:49 +0000 (09:59 +0000)]
Add inet_pton module.

17 years ago2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
Simon Josefsson [Wed, 21 Jun 2006 08:02:40 +0000 (08:02 +0000)]
2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>

* read-file.c (fread_file): Start with buffer allocation of
0 bytes rather than 1 byte; this simplifies the code.
Don't invoke feof; it's not needed.  Refactor to avoid duplicate
code to free buffer and save/restore errno.
(internal_read_file): Remove unused local.

17 years agoUpdate copyright date.
Paul Eggert [Tue, 20 Jun 2006 19:21:44 +0000 (19:21 +0000)]
Update copyright date.

17 years agoFix misspelling.
Paul Eggert [Tue, 20 Jun 2006 19:19:25 +0000 (19:19 +0000)]
Fix misspelling.

17 years ago* openat.c (openat): Use ?:, not if, to work around GCC bug 4210
Paul Eggert [Tue, 20 Jun 2006 19:15:50 +0000 (19:15 +0000)]
* openat.c (openat): Use ?:, not if, to work around GCC bug 4210
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210>.
Problem reported by Denis Excoffier in
<http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00023.html>.

17 years ago.
Karl Berry [Tue, 20 Jun 2006 07:39:57 +0000 (07:39 +0000)]
.

17 years agoupdate from texinfo
Karl Berry [Mon, 19 Jun 2006 22:55:42 +0000 (22:55 +0000)]
update from texinfo

17 years agomention that Gnulib takes over LIBOBJS
Karl Berry [Mon, 19 Jun 2006 20:40:26 +0000 (20:40 +0000)]
mention that Gnulib takes over LIBOBJS

17 years agoRevert slightly, from Bruno.
Simon Josefsson [Mon, 19 Jun 2006 12:28:18 +0000 (12:28 +0000)]
Revert slightly, from Bruno.

17 years agoFix the value of FULL_...
Bruno Haible [Mon, 19 Jun 2006 11:27:00 +0000 (11:27 +0000)]
Fix the value of FULL_...