gnulib.git
19 years agoAdd a license tag to every module.
Bruno Haible [Wed, 22 Sep 2004 15:11:04 +0000 (15:11 +0000)]
Add a license tag to every module.

19 years agoComment out private settings.
Bruno Haible [Tue, 21 Sep 2004 14:22:48 +0000 (14:22 +0000)]
Comment out private settings.

19 years agoAlso needs m4/stdint_h.m4.
Bruno Haible [Tue, 21 Sep 2004 14:19:23 +0000 (14:19 +0000)]
Also needs m4/stdint_h.m4.

19 years agoNeeds m4/inttypes_h.m4.
Bruno Haible [Tue, 21 Sep 2004 14:16:48 +0000 (14:16 +0000)]
Needs m4/inttypes_h.m4.

19 years ago.
Karl Berry [Tue, 21 Sep 2004 07:38:59 +0000 (07:38 +0000)]
.

19 years ago*** empty log message ***
Paul Eggert [Tue, 21 Sep 2004 05:15:31 +0000 (05:15 +0000)]
*** empty log message ***

19 years ago* modules/inttostr (Files): Add m4/longlong.m4.
Paul Eggert [Tue, 21 Sep 2004 05:14:43 +0000 (05:14 +0000)]
* modules/inttostr (Files): Add m4/longlong.m4.

19 years agoRegenerate from CVS Autoconf.
Paul Eggert [Tue, 21 Sep 2004 05:13:50 +0000 (05:13 +0000)]
Regenerate from CVS Autoconf.

19 years agoRegenerate, now that it's listed in ../config/srclist.txt.
Paul Eggert [Tue, 21 Sep 2004 05:09:33 +0000 (05:09 +0000)]
Regenerate, now that it's listed in ../config/srclist.txt.
This merely replaces the LGPL with the GPL.

19 years agoAdd getsubopt.c, since libc bought our changes.
Paul Eggert [Tue, 21 Sep 2004 05:07:11 +0000 (05:07 +0000)]
Add getsubopt.c, since libc bought our changes.

19 years ago(Files): Add m4/longlong.m4, since we need gl_AC_TYPE_LONG_LONG.
Paul Eggert [Tue, 21 Sep 2004 04:51:43 +0000 (04:51 +0000)]
(Files): Add m4/longlong.m4, since we need gl_AC_TYPE_LONG_LONG.

19 years ago.
Karl Berry [Sun, 19 Sep 2004 13:19:49 +0000 (13:19 +0000)]
.

19 years agoskeleton manual
Karl Berry [Sun, 19 Sep 2004 13:17:06 +0000 (13:17 +0000)]
skeleton manual

19 years agognulib-tool: Replace various ad-hoc automake/autoconf/aclocal
Paul Eggert [Sun, 19 Sep 2004 02:09:06 +0000 (02:09 +0000)]
gnulib-tool: Replace various ad-hoc automake/autoconf/aclocal
calls with autoreconf.  Define GL_LIB.

19 years agoReplace various ad-hoc automake/autoconf/aclocal
Paul Eggert [Sun, 19 Sep 2004 02:08:45 +0000 (02:08 +0000)]
Replace various ad-hoc automake/autoconf/aclocal
calls with autoreconf.  Define GL_LIB.

19 years agoautoupdate
Karl Berry [Thu, 16 Sep 2004 12:32:21 +0000 (12:32 +0000)]
autoupdate

19 years agoupdate info on license situation
Karl Berry [Wed, 15 Sep 2004 15:59:43 +0000 (15:59 +0000)]
update info on license situation

19 years ago.
Karl Berry [Tue, 14 Sep 2004 12:31:36 +0000 (12:31 +0000)]
.

19 years agoautoupdate
Karl Berry [Mon, 13 Sep 2004 12:35:21 +0000 (12:35 +0000)]
autoupdate

19 years ago* srclist.txt: Comment out argp-pvh.c.
Paul Eggert [Mon, 13 Sep 2004 11:08:24 +0000 (11:08 +0000)]
* srclist.txt: Comment out argp-pvh.c.

19 years agoComment out argp-pvh.c.
Paul Eggert [Mon, 13 Sep 2004 11:07:48 +0000 (11:07 +0000)]
Comment out argp-pvh.c.

19 years ago* argp-pvh.c (argp_program_version_hook): Provide initial value.
Paul Eggert [Mon, 13 Sep 2004 11:07:19 +0000 (11:07 +0000)]
* argp-pvh.c (argp_program_version_hook): Provide initial value.

19 years ago(argp_program_version_hook): Provide initial value.
Paul Eggert [Mon, 13 Sep 2004 11:06:56 +0000 (11:06 +0000)]
(argp_program_version_hook): Provide initial value.

19 years ago* mempcpy.h: Wrap the entire include file inside #ifndef mempcpy.
Paul Eggert [Sat, 11 Sep 2004 22:55:06 +0000 (22:55 +0000)]
* mempcpy.h: Wrap the entire include file inside #ifndef mempcpy.

19 years agoWrap the entire include file inside #ifndef mempcpy.
Paul Eggert [Sat, 11 Sep 2004 22:54:43 +0000 (22:54 +0000)]
Wrap the entire include file inside #ifndef mempcpy.

19 years ago.
Karl Berry [Fri, 10 Sep 2004 07:46:18 +0000 (07:46 +0000)]
.

19 years agodelete regex.[ch] (stale wrt emacs for ages)
Karl Berry [Thu, 9 Sep 2004 23:37:33 +0000 (23:37 +0000)]
delete regex.[ch] (stale wrt emacs for ages)

19 years agoProvide a substitute for EOVERFLOW if <errno.h> doesn't define it.
Bruno Haible [Thu, 9 Sep 2004 12:31:36 +0000 (12:31 +0000)]
Provide a substitute for EOVERFLOW if <errno.h> doesn't define it.

19 years agoUndo previous change.
Paul Eggert [Wed, 8 Sep 2004 23:08:49 +0000 (23:08 +0000)]
Undo previous change.

19 years ago* c-strtod.c (C_STRTOD) [!defined LC_ALL_MASK]: Set LC_ALL to "C".
Paul Eggert [Wed, 8 Sep 2004 17:17:40 +0000 (17:17 +0000)]
* c-strtod.c (C_STRTOD) [!defined LC_ALL_MASK]: Set LC_ALL to "C".

19 years ago(C_STRTOD) [!defined LC_ALL_MASK]: Set LC_ALL to "C",
Paul Eggert [Wed, 8 Sep 2004 17:16:57 +0000 (17:16 +0000)]
(C_STRTOD) [!defined LC_ALL_MASK]: Set LC_ALL to "C",
not just LC_NUMERIC, to avoid the unlikely possibility of mixed
locales screwing things up.  This removes an inconsistency with
the LC_ALL_MASK case.

19 years agoupdate from libc
Karl Berry [Wed, 8 Sep 2004 13:31:45 +0000 (13:31 +0000)]
update from libc

19 years agoNew module 'stdint'.
Bruno Haible [Wed, 8 Sep 2004 12:43:11 +0000 (12:43 +0000)]
New module 'stdint'.

19 years agoNew module 'xvasprintf'.
Bruno Haible [Wed, 8 Sep 2004 12:15:25 +0000 (12:15 +0000)]
New module 'xvasprintf'.

19 years agoImprove handling of the case length > INT_MAX.
Bruno Haible [Wed, 8 Sep 2004 12:11:19 +0000 (12:11 +0000)]
Improve handling of the case length > INT_MAX.

19 years agoupdate from texinfo
Karl Berry [Tue, 7 Sep 2004 12:51:51 +0000 (12:51 +0000)]
update from texinfo

19 years agoautoupdate
Karl Berry [Tue, 7 Sep 2004 12:51:13 +0000 (12:51 +0000)]
autoupdate

19 years agoauto
Karl Berry [Tue, 31 Aug 2004 12:37:37 +0000 (12:37 +0000)]
auto

19 years agoautoupdate
Karl Berry [Sun, 29 Aug 2004 12:40:39 +0000 (12:40 +0000)]
autoupdate

19 years agoupdate from texinfo
Karl Berry [Fri, 27 Aug 2004 14:00:51 +0000 (14:00 +0000)]
update from texinfo

19 years agoupdate from texinfo
Karl Berry [Fri, 20 Aug 2004 13:25:14 +0000 (13:25 +0000)]
update from texinfo

19 years agoUpdate serial number and copyright date.
Paul Eggert [Fri, 20 Aug 2004 02:27:00 +0000 (02:27 +0000)]
Update serial number and copyright date.

19 years agoImport userspec from coreutils.
Paul Eggert [Fri, 20 Aug 2004 02:23:07 +0000 (02:23 +0000)]
Import userspec from coreutils.

19 years agoupdate from texinfo
Karl Berry [Thu, 19 Aug 2004 13:53:22 +0000 (13:53 +0000)]
update from texinfo

19 years agoupdate from texinfo
Karl Berry [Thu, 19 Aug 2004 12:48:49 +0000 (12:48 +0000)]
update from texinfo

19 years agoupdate from texinfo
Karl Berry [Wed, 18 Aug 2004 23:25:26 +0000 (23:25 +0000)]
update from texinfo

19 years agoRegenerate.
Paul Eggert [Tue, 17 Aug 2004 23:42:49 +0000 (23:42 +0000)]
Regenerate.

19 years agoUpdate gnulib-tool, MODULES.html.sh.
Paul Eggert [Tue, 17 Aug 2004 23:40:24 +0000 (23:40 +0000)]
Update gnulib-tool, MODULES.html.sh.

19 years agoAdd xalloc-die, c-strtod, c-strtold, raise,
Paul Eggert [Tue, 17 Aug 2004 23:39:57 +0000 (23:39 +0000)]
Add xalloc-die, c-strtod, c-strtold, raise,
readtokens0, getcwd, fcntl-safer, canonicalize, cycle-check,
utimecmp, utimens, xnanosleep.  Rename sha to sha1.

19 years agoUse sed instead of autoconf --trace, inspired by
Paul Eggert [Tue, 17 Aug 2004 23:36:21 +0000 (23:36 +0000)]
Use sed instead of autoconf --trace, inspired by
libtoolize behaviour by "Gary V. Vaughan" <gary@gnu.org>.
Add --dry-run for --import.
Let user provided command line parameters override configure.ac
settings.

19 years agoupdate from texinfo
Karl Berry [Sat, 14 Aug 2004 18:08:14 +0000 (18:08 +0000)]
update from texinfo

19 years agoautoupdate
Karl Berry [Fri, 13 Aug 2004 13:03:11 +0000 (13:03 +0000)]
autoupdate

19 years ago* gnulib-tool: Add --source-base, --m4-base, --libtool options.
Paul Eggert [Thu, 12 Aug 2004 20:47:37 +0000 (20:47 +0000)]
* gnulib-tool: Add --source-base, --m4-base, --libtool options.

19 years agoAdd --source-base, --m4-base, --libtool options.
Paul Eggert [Thu, 12 Aug 2004 20:47:12 +0000 (20:47 +0000)]
Add --source-base, --m4-base, --libtool options.
Change default library name from libfoo to libgnu.

19 years agogetopt, argp fixes.
Paul Eggert [Thu, 12 Aug 2004 08:09:42 +0000 (08:09 +0000)]
getopt, argp fixes.

19 years agoRemove getopt.c, getopt.h (renamed to getopt_.h), getopt1.c.
Paul Eggert [Thu, 12 Aug 2004 08:09:17 +0000 (08:09 +0000)]
Remove getopt.c, getopt.h (renamed to getopt_.h), getopt1.c.

19 years agoRenamed from getopt.h.
Paul Eggert [Thu, 12 Aug 2004 08:05:22 +0000 (08:05 +0000)]
Renamed from getopt.h.

19 years ago(Files): Add m4/unlocked-io.m4.
Paul Eggert [Thu, 12 Aug 2004 08:03:45 +0000 (08:03 +0000)]
(Files): Add m4/unlocked-io.m4.
(Depends-on): Add extensions.

19 years ago(gl_GETOPT_SUBSTITUTE, gl_PREREQ_GETOPT): New macros.
Paul Eggert [Thu, 12 Aug 2004 08:03:11 +0000 (08:03 +0000)]
(gl_GETOPT_SUBSTITUTE, gl_PREREQ_GETOPT): New macros.
(gl_GETOPT): Use them.

19 years ago(gl_ARGP): Do not check for argp.h or argp_parse; nobody
Paul Eggert [Thu, 12 Aug 2004 08:02:31 +0000 (08:02 +0000)]
(gl_ARGP): Do not check for argp.h or argp_parse; nobody
uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
Check for program_invocation_name, program_invocation_short_name,
flockfile, funlockfile, features.h, _getopt_long_only_r.

19 years agoRenamed to getopt_.h.
Paul Eggert [Thu, 12 Aug 2004 08:01:07 +0000 (08:01 +0000)]
Renamed to getopt_.h.

19 years agoRemove ELIDE_CODE hack.
Paul Eggert [Thu, 12 Aug 2004 07:59:56 +0000 (07:59 +0000)]
Remove ELIDE_CODE hack.

19 years ago(Files): Rename getopt.h to getopt_.h.
Paul Eggert [Thu, 12 Aug 2004 07:59:00 +0000 (07:59 +0000)]
(Files): Rename getopt.h to getopt_.h.
(Makefile.am): Rewrite, use logic from argz.
(Include): Use <getopt.h> instead of "getopt.h".

19 years agoUse "gettext.h" instead of its complicated substitute.
Paul Eggert [Thu, 12 Aug 2004 07:57:52 +0000 (07:57 +0000)]
Use "gettext.h" instead of its complicated substitute.
(N_): Define unconditionally.
(argp_default_options): Fill out initializers with 0 to avoid
gcc warnings.

19 years agoUse "gettext.h" instead of its complicated substitute.
Paul Eggert [Thu, 12 Aug 2004 07:57:07 +0000 (07:57 +0000)]
Use "gettext.h" instead of its complicated substitute.
Include <errno.h>, for program_invocation_short_name
and program_invocation_name.
(__argp_basename) [!_LIBC]: Remove; the only use was
replaced by its body.
(__argp_short_program_name): Change condition from
!defined __argp_short_program_name to
! (defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME),
to match argp-namefrob.h.
(__argp_failure): Don't assume strerror_r returns char *.

19 years agoMerge from coreutils.
Paul Eggert [Wed, 11 Aug 2004 22:47:51 +0000 (22:47 +0000)]
Merge from coreutils.

19 years ago(settime): Recode to avoid warning with Sun Forte C 6U2.
Paul Eggert [Wed, 11 Aug 2004 22:47:30 +0000 (22:47 +0000)]
(settime): Recode to avoid warning with Sun Forte C 6U2.

19 years agoConvert to UTF-8.
Paul Eggert [Wed, 11 Aug 2004 22:46:55 +0000 (22:46 +0000)]
Convert to UTF-8.

19 years agoMerge fnmatch and obstack from coreutils.
Paul Eggert [Wed, 11 Aug 2004 22:44:14 +0000 (22:44 +0000)]
Merge fnmatch and obstack from coreutils.

19 years ago(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
Paul Eggert [Wed, 11 Aug 2004 22:43:53 +0000 (22:43 +0000)]
(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.

19 years ago(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
Paul Eggert [Wed, 11 Aug 2004 22:43:31 +0000 (22:43 +0000)]
(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
wmemchr or wmemcpy.  Problem reported by Robert Dahlem
for Reliant Unix 5.43.

19 years agoAdd inttypes_h.m4, stdint_h.m4, uintmax_t.m4.
Paul Eggert [Wed, 11 Aug 2004 22:40:49 +0000 (22:40 +0000)]
Add inttypes_h.m4, stdint_h.m4, uintmax_t.m4.

19 years agoobstack.m4 (gl_PREREQ_OBSTACK): Require
Paul Eggert [Wed, 11 Aug 2004 22:40:29 +0000 (22:40 +0000)]
obstack.m4 (gl_PREREQ_OBSTACK): Require
gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.

19 years agoInclude <inttypes.h> and <stdint.h> if available.
Paul Eggert [Wed, 11 Aug 2004 22:39:58 +0000 (22:39 +0000)]
Include <inttypes.h> and <stdint.h> if available.
(union fooround): Use uintmax_t, not long int.
The rest is a merge from libc:
[defined _LIBC]: Include <shlib-compat.h>.
(_obstack) [defined _LIBC]: Remove after 2.3.4.

19 years agoAdd uintmax_t detection to obstack.
Paul Eggert [Wed, 11 Aug 2004 22:39:34 +0000 (22:39 +0000)]
Add uintmax_t detection to obstack.

19 years agoautoupdate
Karl Berry [Wed, 11 Aug 2004 12:01:26 +0000 (12:01 +0000)]
autoupdate

19 years agoobstack, chown fixes.
Paul Eggert [Tue, 10 Aug 2004 05:17:22 +0000 (05:17 +0000)]
obstack, chown fixes.

19 years ago(_obstack_begin, _obstack_begin_1, _obstack_newchunk):
Paul Eggert [Tue, 10 Aug 2004 05:16:53 +0000 (05:16 +0000)]
(_obstack_begin, _obstack_begin_1, _obstack_newchunk):
Don't assume that chunk->contents is suitably aligned.

19 years ago(obstack_empty_p): Don't assume that chunk->contents is suitably
Paul Eggert [Tue, 10 Aug 2004 05:16:29 +0000 (05:16 +0000)]
(obstack_empty_p): Don't assume that chunk->contents is suitably
aligned.

19 years ago(rpl_chown): Work even if the file is writeable but not readable.
Paul Eggert [Tue, 10 Aug 2004 04:49:04 +0000 (04:49 +0000)]
(rpl_chown): Work even if the file is writeable but not readable.

19 years agoPut the UTF-8 comment in an m4 comment, not a shell comment, so that
Paul Eggert [Tue, 10 Aug 2004 03:46:10 +0000 (03:46 +0000)]
Put the UTF-8 comment in an m4 comment, not a shell comment, so that
we don't put UTF-8 text into "configure".  "configure" might contain
non-UTF-8 text, and we don't want to confuse matters.

19 years agoAdd getpass.h, so it's properly declared.
Paul Eggert [Mon, 9 Aug 2004 23:54:10 +0000 (23:54 +0000)]
Add getpass.h, so it's properly declared.

19 years agoxgethostname simplification
Paul Eggert [Mon, 9 Aug 2004 23:45:32 +0000 (23:45 +0000)]
xgethostname simplification

19 years agoAdd copyright notices.
Paul Eggert [Mon, 9 Aug 2004 21:16:10 +0000 (21:16 +0000)]
Add copyright notices.

19 years agoSwitch to UTF-8 encoding.
Paul Eggert [Mon, 9 Aug 2004 21:11:34 +0000 (21:11 +0000)]
Switch to UTF-8 encoding.

19 years agoRemove dependency of xalloc in exitfail, error, gettext.
Paul Eggert [Mon, 9 Aug 2004 18:31:09 +0000 (18:31 +0000)]
Remove dependency of xalloc in exitfail, error, gettext.

19 years agoAdd uint32_t.m4, uintptr_t.m4, and finish renaming sha->sha1.
Paul Eggert [Mon, 9 Aug 2004 17:58:46 +0000 (17:58 +0000)]
Add uint32_t.m4, uintptr_t.m4, and finish renaming sha->sha1.

19 years agoRename FILESYSTEM_PREFIX_LEN.
Bruno Haible [Sun, 8 Aug 2004 16:53:10 +0000 (16:53 +0000)]
Rename FILESYSTEM_PREFIX_LEN.

19 years agoConvert to UTF-8 correctly.
Bruno Haible [Sun, 8 Aug 2004 16:39:24 +0000 (16:39 +0000)]
Convert to UTF-8 correctly.

19 years agoMerge argp-help from tar.
Paul Eggert [Sat, 7 Aug 2004 06:43:50 +0000 (06:43 +0000)]
Merge argp-help from tar.

19 years ago(make_hol, hol_append): Don't assume that
Paul Eggert [Sat, 7 Aug 2004 06:43:34 +0000 (06:43 +0000)]
(make_hol, hol_append): Don't assume that
SIZE_MAX is a valid preprocessor constant.
(__argp_basename): Change from "#ifndef _LIBC"
to "#ifndef __argp_short_program_name", so that
we don't compile these functions for tar.

19 years agoOnly declare strdup if it isn't declared by the system.
Paul Eggert [Sat, 7 Aug 2004 02:58:12 +0000 (02:58 +0000)]
Only declare strdup if it isn't declared by the system.

19 years agoMerge from coreutils.
Paul Eggert [Sat, 7 Aug 2004 00:09:38 +0000 (00:09 +0000)]
Merge from coreutils.

19 years ago(gl_PREREQ_EUIDACCESS): Don't bother checking for
Paul Eggert [Fri, 6 Aug 2004 23:44:59 +0000 (23:44 +0000)]
(gl_PREREQ_EUIDACCESS): Don't bother checking for
unistd.h, as autoconf does this for us.  Check for libgen.h.
Also look for eaccess within -lgen, which is where it is in
Solaris.  Set LIB_EACCESS accordingly.
(gl_FUNC_NONREENTRANT_EUIDACCESS): New macro.
(gl_FUNC_EUIDACCESS): Use AC_CHECK_DECLS_ONCE, not AC_CHECK_DECLS.
(gl_PREREQ_EUIDACCESS): Check for eaccess and setregid decls.
Require AC_HEADER_STAT.

19 years ago[HAVE_LIBGEN_H]: Include <libgen.h>, for
Paul Eggert [Fri, 6 Aug 2004 23:44:27 +0000 (23:44 +0000)]
[HAVE_LIBGEN_H]: Include <libgen.h>, for
eaccess on Solaris and SVR4-like systems.
(euidaccess): Use HAVE_EACCESS, not HAVE_DECL_EACCESS.
[!defined LIBC]: Included group-member.h, stat-macros.h.
(S_IXUSR, S_IXGRP, S_IXOTH, S_IROTH, S_IWOTH, S_IXOTH):
Remove; now done by stat-macros.h.
(NGROUPS_MAX, group_member): Remove; now done by group-member.h.
No need to include <limits.h>.
(errno): Remove decl; we now assume C89 or better.
(access, getuid, getgid, geteuid, getegid, stat) [defined _LIBC]:
New macros.
(uid, gid, have_ids): Remove these static variables.
They weren't accurate for programs that also invoked setreuid etc.
(euidaccess) [defined EFF_ONLY_OK || defined ACC_SELF ||
HAVE_DECL_EACCSS]: Use builtin substitutes.
[defined _LIBC]: Ignore __libc_enable_secure; it's not a
correct optimization for programs run as root that later
invoke setreuid.
[no builtin substitutes && HAVE_DECL_SETREGID &&
PREFER_NONREENTRANT_EUIDACCESS]:
Use setreuid+setregid to get the correct answer.
[no builtin substitutes && ! (HAVE_DECL_SETREGID &&
PREFER_NONREENTRANT_EUIDACCESS)]:
Don't assume that the stat macros have their historical values,
as POSIX doesn't require this.
[defined TEST]: Include <stdlib.h>; don't include errno.h
twice; include <error.h> rather than "error.h".

19 years agoRemoved (merged from coreutils).
Paul Eggert [Fri, 6 Aug 2004 23:37:02 +0000 (23:37 +0000)]
Removed (merged from coreutils).

19 years agoMerge from coreutils.
Paul Eggert [Fri, 6 Aug 2004 23:12:57 +0000 (23:12 +0000)]
Merge from coreutils.

19 years agoMerge from coreutils.
Paul Eggert [Fri, 6 Aug 2004 23:04:38 +0000 (23:04 +0000)]
Merge from coreutils.

19 years agoRemove safe-lstat.c, safe-lstat.h, safe-stat.c, safe-stat.h.
Paul Eggert [Fri, 6 Aug 2004 23:03:18 +0000 (23:03 +0000)]
Remove safe-lstat.c, safe-lstat.h, safe-stat.c, safe-stat.h.

19 years agoReplace fnmatch.h with fnmatch_.h.
Paul Eggert [Fri, 6 Aug 2004 23:01:32 +0000 (23:01 +0000)]
Replace fnmatch.h with fnmatch_.h.
Add fts.c, fts_.h, utimecmp.h