gnulib.git
17 years agoUpdate copyright year.
Bruno Haible [Sat, 22 Jul 2006 14:37:42 +0000 (14:37 +0000)]
Update copyright year.

17 years agoUpdate csharpexec module from GNU gettext.
Bruno Haible [Sat, 22 Jul 2006 14:32:41 +0000 (14:32 +0000)]
Update csharpexec module from GNU gettext.

17 years agoUpdate csharpcomp module from GNU gettext 0.15.
Bruno Haible [Sat, 22 Jul 2006 14:24:36 +0000 (14:24 +0000)]
Update csharpcomp module from GNU gettext 0.15.

17 years agoUpdate localcharset module from GNU gettext.
Bruno Haible [Sat, 22 Jul 2006 14:11:57 +0000 (14:11 +0000)]
Update localcharset module from GNU gettext.

17 years agoLinebreak copyright message.
Bruno Haible [Sat, 22 Jul 2006 14:05:49 +0000 (14:05 +0000)]
Linebreak copyright message.

17 years agoMerge from GNU gettext.
Bruno Haible [Sat, 22 Jul 2006 13:56:32 +0000 (13:56 +0000)]
Merge from GNU gettext.

17 years agoUpdate to GNU gettext-0.15.
Bruno Haible [Sat, 22 Jul 2006 13:28:34 +0000 (13:28 +0000)]
Update to GNU gettext-0.15.

17 years agoUpdate to GNU gettext 0.15.
Bruno Haible [Sat, 22 Jul 2006 13:18:28 +0000 (13:18 +0000)]
Update to GNU gettext 0.15.

17 years agoRenamed to inttypes-h.m4.
Bruno Haible [Sat, 22 Jul 2006 13:17:45 +0000 (13:17 +0000)]
Renamed to inttypes-h.m4.

17 years agoFrom GNU gettext-0.15. Was earlier called inttypes.h,
Bruno Haible [Sat, 22 Jul 2006 13:17:22 +0000 (13:17 +0000)]
From GNU gettext-0.15. Was earlier called inttypes.h,

17 years agoUpgrade to gettext-0.15.
Bruno Haible [Sat, 22 Jul 2006 13:13:09 +0000 (13:13 +0000)]
Upgrade to gettext-0.15.

17 years ago2006-07-22 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Simon Josefsson [Sat, 22 Jul 2006 10:13:57 +0000 (10:13 +0000)]
2006-07-22  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
and Simon Josefsson <jas@extundo.com>

* getaddrinfo.h (AI_PASSIVE): Make sure it is defined.

* getaddrinfo.c (getaddrinfo): Support AI_PASSIVE.

17 years ago.
Karl Berry [Sat, 22 Jul 2006 08:06:12 +0000 (08:06 +0000)]
.

17 years ago* modules/stdlib-safer: New file.
Eric Blake [Fri, 21 Jul 2006 13:06:22 +0000 (13:06 +0000)]
* modules/stdlib-safer: New file.
* MODULES.html.sh (File stream based Input/Output): Add
stdlib-safer.

17 years ago* stdlib-safer.h: New file from coreutils, required by
Eric Blake [Fri, 21 Jul 2006 13:06:05 +0000 (13:06 +0000)]
* stdlib-safer.h: New file from coreutils, required by
stdlib--.h.

17 years ago.
Karl Berry [Fri, 21 Jul 2006 08:03:39 +0000 (08:03 +0000)]
.

17 years agoFix HTML syntax.
Bruno Haible [Thu, 20 Jul 2006 17:32:20 +0000 (17:32 +0000)]
Fix HTML syntax.

17 years agoFix HTML syntax.
Bruno Haible [Thu, 20 Jul 2006 17:23:06 +0000 (17:23 +0000)]
Fix HTML syntax.

17 years ago* gnulib-tool (func_usage): Document --assume-autoconf='latest-stable'.
Paul Eggert [Thu, 20 Jul 2006 16:53:35 +0000 (16:53 +0000)]
* gnulib-tool (func_usage): Document --assume-autoconf='latest-stable'.

17 years agoAdd option --assume-autoconf. Default is back to 2.59.
Bruno Haible [Thu, 20 Jul 2006 14:51:57 +0000 (14:51 +0000)]
Add option --assume-autoconf. Default is back to 2.59.

17 years agoReorder tests in doc-base patch.
Bruno Haible [Thu, 20 Jul 2006 14:22:07 +0000 (14:22 +0000)]
Reorder tests in doc-base patch.

17 years agoCorrect ChangeLog.
Derek R. Price [Wed, 19 Jul 2006 21:59:39 +0000 (21:59 +0000)]
Correct ChangeLog.

17 years ago* lib/getaddrinfo.h: Reindent and repaginate.
Derek R. Price [Wed, 19 Jul 2006 21:59:10 +0000 (21:59 +0000)]
* lib/getaddrinfo.h: Reindent and repaginate.

17 years ago* lib/getaddrinfo.h: Don't define unimplemented AI_* flags.
Derek R. Price [Wed, 19 Jul 2006 21:51:37 +0000 (21:51 +0000)]
* lib/getaddrinfo.h: Don't define unimplemented AI_* flags.

17 years ago* gnulib.texi (Libtool and Windows): Eliminate passive voice. Correct
Derek R. Price [Wed, 19 Jul 2006 21:48:14 +0000 (21:48 +0000)]
* gnulib.texi (Libtool and Windows):  Eliminate passive voice.  Correct
grammar.

17 years agoComplete comments.
Bruno Haible [Tue, 18 Jul 2006 11:29:44 +0000 (11:29 +0000)]
Complete comments.

17 years agoFix specification header include.
Bruno Haible [Tue, 18 Jul 2006 11:29:26 +0000 (11:29 +0000)]
Fix specification header include.

17 years ago.
Karl Berry [Tue, 18 Jul 2006 08:05:17 +0000 (08:05 +0000)]
.

17 years agoNew modules for lists and ordered sets.
Bruno Haible [Mon, 17 Jul 2006 11:34:58 +0000 (11:34 +0000)]
New modules for lists and ordered sets.

17 years agoAbstract list data type.
Bruno Haible [Mon, 17 Jul 2006 11:34:23 +0000 (11:34 +0000)]
Abstract list data type.

17 years agoAbstract ordered set data type.
Bruno Haible [Mon, 17 Jul 2006 11:34:01 +0000 (11:34 +0000)]
Abstract ordered set data type.

17 years agoOrdered set data type implemented by a binary tree.
Bruno Haible [Mon, 17 Jul 2006 11:32:55 +0000 (11:32 +0000)]
Ordered set data type implemented by a binary tree.

17 years agoSequential list data type implemented by a hash table with a binary tree.
Bruno Haible [Mon, 17 Jul 2006 11:31:28 +0000 (11:31 +0000)]
Sequential list data type implemented by a hash table with a binary tree.

17 years agoSequential list data type implemented by a binary tree.
Bruno Haible [Mon, 17 Jul 2006 11:30:58 +0000 (11:30 +0000)]
Sequential list data type implemented by a binary tree.

17 years agoSequential list data type implemented by a hash table with a linked list.
Bruno Haible [Mon, 17 Jul 2006 11:30:30 +0000 (11:30 +0000)]
Sequential list data type implemented by a hash table with a linked list.

17 years agoSequential list data type implemented by a linked list.
Bruno Haible [Mon, 17 Jul 2006 11:30:07 +0000 (11:30 +0000)]
Sequential list data type implemented by a linked list.

17 years agoSequential list data type implemented by a circular array.
Bruno Haible [Mon, 17 Jul 2006 11:29:21 +0000 (11:29 +0000)]
Sequential list data type implemented by a circular array.

17 years agoOrdered set data type implemented by an array.
Bruno Haible [Mon, 17 Jul 2006 11:28:35 +0000 (11:28 +0000)]
Ordered set data type implemented by an array.

17 years agoSequential list data type implemented by an array.
Bruno Haible [Mon, 17 Jul 2006 11:28:01 +0000 (11:28 +0000)]
Sequential list data type implemented by an array.

17 years agoCommon code of several ordered list implementations.
Bruno Haible [Mon, 17 Jul 2006 11:27:35 +0000 (11:27 +0000)]
Common code of several ordered list implementations.

17 years agoCommon code several concrete list implementations.
Bruno Haible [Mon, 17 Jul 2006 11:27:18 +0000 (11:27 +0000)]
Common code several concrete list implementations.

17 years agoNew modules 'list' and 'oset'.
Bruno Haible [Mon, 17 Jul 2006 11:24:42 +0000 (11:24 +0000)]
New modules 'list' and 'oset'.

17 years agoRegenerate.
Paul Eggert [Mon, 17 Jul 2006 06:19:45 +0000 (06:19 +0000)]
Regenerate.

17 years agoFix mispelling in previous change: mkancestors -> mkancesdirs
Paul Eggert [Mon, 17 Jul 2006 06:13:01 +0000 (06:13 +0000)]
Fix mispelling in previous change: mkancestors -> mkancesdirs

17 years agoImport from coreutils.
Paul Eggert [Mon, 17 Jul 2006 06:06:48 +0000 (06:06 +0000)]
Import from coreutils.

* MODULES.html.sh: Add mkancestors.
* modules/mkancesdirs: New module.
* modules/mkdir-p (Files): Remove lib/chdir-safer.c, lib/chdir-safer.h,
lib/same-inode.h, m4/afs.m4, m4/chdir-safer.m4.
The chdir-safer and afs files are now orphans; I'll remove them
unless someone speaks up.
Add lib/dirchownmod.c, lib/dirchownmod.h.
(Depends-on): Remove alloca, chown, save-cwd, dirname.
Add lchown, mkancesdirs.
(Maintainer): Add self.

* lib/dirchownmod.c, lib/dirchownmod.h:
* lib/mkancesdirs.c, lib/mkancesdirs.h: New files.
* lib/mkdir-p.c: Don't include alloca.h, stdio.h, sys/types.h,
unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h,
save-cwd.h.  Instead, include dirchownmod.h and mkancesdirs.h.
(make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE,
MODE_BITS.  Remove options VERBOSE_FMT_STRING, CWD_ERRNO.  All
callers changed.  Revamp internals significantly, by not
attempting to create directories that are temporarily more
permissive than the final results.  Do not attempt to use
save_cwd/restore_cwd; it isn't worth it for mkdir and install.
This removes some race conditions, fixes some bugs, and simplifies
things.  Use new dirchownmod function to do owner and mode changes.
* lib/mkdir-p.h: Likewise.
* lib/modechange.c (octal_to_mode): New function.
(struct mode_change): New member mentioned.
(make_node_op_equals): New arg mentioned.  All callers changed.
(mode_compile): Keep track of which mode bits the user has explicitly
mentioned.
(mode_adjust): New arg DIR, so that we implement the X op correctly.
New arg PMODE_BITS, to keep track of which mode bits the user
mentioned; it treats S_ISUID and S_ISGID speciall.
All callers changed.
* lib/modechange.h: Likewise.

* mkancesdirs.m4: New file.
* mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.

17 years agoupdate from texinfo
Karl Berry [Sun, 16 Jul 2006 23:52:38 +0000 (23:52 +0000)]
update from texinfo

17 years ago.
Karl Berry [Sat, 15 Jul 2006 23:08:08 +0000 (23:08 +0000)]
.

17 years agohelp message tweaks
Karl Berry [Sat, 15 Jul 2006 23:07:01 +0000 (23:07 +0000)]
help message tweaks

17 years agoupdate from texinfo
Karl Berry [Sat, 15 Jul 2006 22:58:40 +0000 (22:58 +0000)]
update from texinfo

17 years agoautoupdate
Karl Berry [Sat, 15 Jul 2006 19:58:49 +0000 (19:58 +0000)]
autoupdate

17 years agotexinfo subdir is util not utils
Karl Berry [Fri, 14 Jul 2006 13:17:33 +0000 (13:17 +0000)]
texinfo subdir is util not utils

17 years ago2006-07-14 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Fri, 14 Jul 2006 09:32:13 +0000 (09:32 +0000)]
2006-07-14  Simon Josefsson  <jas@extundo.com>

* gnulib.texi (Libtool and Windows): New section.

17 years ago.
Karl Berry [Thu, 13 Jul 2006 08:03:33 +0000 (08:03 +0000)]
.

17 years ago*** empty log message ***
Simon Josefsson [Wed, 12 Jul 2006 20:14:15 +0000 (20:14 +0000)]
*** empty log message ***

17 years agoFix license, approved by Karl.
Simon Josefsson [Wed, 12 Jul 2006 20:13:42 +0000 (20:13 +0000)]
Fix license, approved by Karl.

17 years ago* MODULES.html.sh: Add gendocs.
Eric Blake [Wed, 12 Jul 2006 15:19:16 +0000 (15:19 +0000)]
* MODULES.html.sh: Add gendocs.

17 years ago.
Karl Berry [Wed, 12 Jul 2006 07:56:18 +0000 (07:56 +0000)]
.

17 years agoAdd gendocs, from texinfo.
Simon Josefsson [Wed, 12 Jul 2006 07:27:31 +0000 (07:27 +0000)]
Add gendocs, from texinfo.

17 years ago* gnulib-tool: List --doc-base before --tests-base.
Eric Blake [Tue, 11 Jul 2006 15:27:08 +0000 (15:27 +0000)]
* gnulib-tool: List --doc-base before --tests-base.

17 years ago* glob.c: s/NAMLEN/_D_EXACT_NAMLEN/.
Derek R. Price [Tue, 11 Jul 2006 13:18:42 +0000 (13:18 +0000)]
* glob.c: s/NAMLEN/_D_EXACT_NAMLEN/.

17 years ago* absolute-header.m4: Fix comments to match recent change.
Eric Blake [Tue, 11 Jul 2006 13:02:25 +0000 (13:02 +0000)]
* absolute-header.m4: Fix comments to match recent change.

17 years ago* modules/fdl: New module, to install doc/fdl.texi.
Eric Blake [Tue, 11 Jul 2006 12:58:27 +0000 (12:58 +0000)]
* modules/fdl: New module, to install doc/fdl.texi.
* MODULES.html.sh: Add new section for documentation modules.
* gnulib-tool: Avoid space-tab.
(--doc-base): New option, to manage files from doc.

17 years agoMention where to put documentation.
Bruno Haible [Tue, 11 Jul 2006 11:59:13 +0000 (11:59 +0000)]
Mention where to put documentation.

17 years ago* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
Paul Eggert [Tue, 11 Jul 2006 06:13:28 +0000 (06:13 +0000)]
* sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
to stdint.m4.

17 years ago* backupfile.c, dirfd.h, fts.c, getcwd.c, glob.c, glob_.h:
Paul Eggert [Tue, 11 Jul 2006 06:02:51 +0000 (06:02 +0000)]
* backupfile.c, dirfd.h, fts.c, getcwd.c, glob.c, glob_.h:
Ignore the obsolescent !HAVE_DIRENT_H case.  Consolidate NAMLEN
macros into the GNU _D_EXACT_NAMLEN.
* savedir.c:  Likewise.
(savedirstream): Use _D_EXACT_NAMLEN in preference to strlen.

* backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
* savedir.m4:
Ignore the obsolescent !HAVE_DIRENT_H case.  Consolidate NAMLEN
macros into the GNU _D_EXACT_NAMLEN.

17 years agoWhite space fix from coreutils.
Paul Eggert [Tue, 11 Jul 2006 04:07:59 +0000 (04:07 +0000)]
White space fix from coreutils.

17 years ago* stdint.m4 (gl_STDINT_H): Like yesterday's change to
Paul Eggert [Tue, 11 Jul 2006 03:30:49 +0000 (03:30 +0000)]
* stdint.m4 (gl_STDINT_H): Like yesterday's change to
absolute-header.m4.  Also, set ABSOLUTE_STDINT_H to a string
"no/such/file/stdint.h" when there is no such file, so that
the resulting C code can be parsed by dodgy compilers.
Problems reported by Bob Proulx.

17 years agoautoupdate
Karl Berry [Mon, 10 Jul 2006 13:16:09 +0000 (13:16 +0000)]
autoupdate

17 years ago* functions.texi, gnulib-tool.texi, gnulib.texi: Fix some typos.
Ralf Wildenhues [Mon, 10 Jul 2006 06:37:33 +0000 (06:37 +0000)]
* functions.texi, gnulib-tool.texi, gnulib.texi: Fix some typos.

17 years ago* absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
Paul Eggert [Mon, 10 Jul 2006 04:37:09 +0000 (04:37 +0000)]
* absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
around the absolute name, to work around a problem with the HP-UX
11.23 native C compiler, reported by Bob Proulx.

17 years agoSync from upstream.
Paul Eggert [Sun, 9 Jul 2006 16:31:39 +0000 (16:31 +0000)]
Sync from upstream.

17 years ago* lib/argp-pv.c: Remove a doubled word in a comment.
Jim Meyering [Sun, 9 Jul 2006 10:18:17 +0000 (10:18 +0000)]
* lib/argp-pv.c: Remove a doubled word in a comment.
* lib/check-version.c (check_version): Likewise.
* lib/javacomp.c (compile_java_class): Likewise.
* m4/glob.m4: Likewise.

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

17 years ago* gnulib-tool (func_get_filelist): Don't echo m4/onceonly_2_57.m4,
Paul Eggert [Sun, 9 Jul 2006 03:31:53 +0000 (03:31 +0000)]
* gnulib-tool (func_get_filelist): Don't echo m4/onceonly_2_57.m4,
for the benefit of people using Autoconf 2.60.  If you want to
support older Autoconf versions you can copy m4/onceonly_2_57.m4
(or m4/onceonly.m4, if pre-2.57) manually.

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