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

19 years agoAdd "yesno.h" as an include.
Paul Eggert [Fri, 6 Aug 2004 22:57:52 +0000 (22:57 +0000)]
Add "yesno.h" as an include.

19 years agoChange include from <time.h> to "strftime.h".
Paul Eggert [Fri, 6 Aug 2004 22:57:01 +0000 (22:57 +0000)]
Change include from <time.h> to "strftime.h".

19 years agoMerge from coreutils.
Paul Eggert [Fri, 6 Aug 2004 22:51:58 +0000 (22:51 +0000)]
Merge from coreutils.

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

19 years agoImport from coreutils.
Paul Eggert [Fri, 6 Aug 2004 22:30:35 +0000 (22:30 +0000)]
Import from coreutils.

19 years ago(lib_SOURCES): Add strftime.h.
Paul Eggert [Fri, 6 Aug 2004 22:13:55 +0000 (22:13 +0000)]
(lib_SOURCES): Add strftime.h.

19 years agoAdd lib/strftime.h.
Paul Eggert [Fri, 6 Aug 2004 22:07:15 +0000 (22:07 +0000)]
Add lib/strftime.h.

19 years agoInclude <time.h>, for size_t and struct tm.
Paul Eggert [Fri, 6 Aug 2004 22:06:44 +0000 (22:06 +0000)]
Include <time.h>, for size_t and struct tm.

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

19 years agoMerge fromm coreutils.
Paul Eggert [Fri, 6 Aug 2004 21:55:43 +0000 (21:55 +0000)]
Merge fromm coreutils.

19 years agoMerge from coreutils.
Paul Eggert [Fri, 6 Aug 2004 21:48:01 +0000 (21:48 +0000)]
Merge from coreutils.

19 years ago2004-08-03 Simon Josefsson <jas@extundo.com>
Bruno Haible [Fri, 6 Aug 2004 20:42:23 +0000 (20:42 +0000)]
2004-08-03  Simon Josefsson  <jas@extundo.com>
progname doesn't need stdbool.

19 years ago2004-08-01 Simon Josefsson <jas@extundo.com>
Bruno Haible [Fri, 6 Aug 2004 20:39:08 +0000 (20:39 +0000)]
2004-08-01  Simon Josefsson  <jas@extundo.com>
Include stdlib.h, for free().

19 years agoNew module 'getsubopt'.
Bruno Haible [Fri, 6 Aug 2004 20:23:41 +0000 (20:23 +0000)]
New module 'getsubopt'.

19 years agoMore merges from coreutils.
Paul Eggert [Fri, 6 Aug 2004 07:14:12 +0000 (07:14 +0000)]
More merges from coreutils.

19 years agoNew getcwd module, imported from coreutils.
Paul Eggert [Fri, 6 Aug 2004 06:29:11 +0000 (06:29 +0000)]
New getcwd module, imported from coreutils.

19 years ago(same_name): Return bool, not int.
Paul Eggert [Fri, 6 Aug 2004 06:19:08 +0000 (06:19 +0000)]
(same_name): Return bool, not int.
(errno): Don't declare; we assume C89 or better now.

19 years agoInclude <stdbool.h>
Paul Eggert [Fri, 6 Aug 2004 06:18:46 +0000 (06:18 +0000)]
Include <stdbool.h>
(same_name): Return bool, not int.

19 years agoMerge from coreutils.
Paul Eggert [Fri, 6 Aug 2004 05:21:37 +0000 (05:21 +0000)]
Merge from coreutils.

19 years ago(errno): Don't declare; we assume C89 or better now.
Paul Eggert [Fri, 6 Aug 2004 05:16:49 +0000 (05:16 +0000)]
(errno): Don't declare; we assume C89 or better now.

19 years agoNew module, from coreutils.
Paul Eggert [Fri, 6 Aug 2004 05:08:45 +0000 (05:08 +0000)]
New module, from coreutils.

19 years ago(S_ISCTG, S_ISOFD, S_ISOFL): New macros, if not already defined.
Paul Eggert [Fri, 6 Aug 2004 05:02:24 +0000 (05:02 +0000)]
(S_ISCTG, S_ISOFD, S_ISOFL): New macros, if not already defined.

19 years ago(errno): Don't declare; we assume C89 or better now.
Paul Eggert [Fri, 6 Aug 2004 04:55:51 +0000 (04:55 +0000)]
(errno): Don't declare; we assume C89 or better now.

19 years agoFix comment glitch.
Paul Eggert [Fri, 6 Aug 2004 04:54:58 +0000 (04:54 +0000)]
Fix comment glitch.

19 years agoDon't depend on strdup.
Paul Eggert [Fri, 6 Aug 2004 04:49:59 +0000 (04:49 +0000)]
Don't depend on strdup.

19 years ago(mempcpy): Don't define if a system header defines it.
Paul Eggert [Fri, 6 Aug 2004 04:48:31 +0000 (04:48 +0000)]
(mempcpy): Don't define if a system header defines it.
Don't include stdio.h, stdlib.h, unistd.h, strdup.h.
(longest_relative_suffix): New function.
(path_concat): Use it.  Assume first argument is not NULL.
Port to DOS.  Omit redundant separators.
Report an error instead of returning NULL.
Use mempcpy instead of memcpy.
(xpath_concat): Remove: not declared or used.

19 years ago(gl_PATH_CONCAT): Don't require gl_AC_DOS, the
Paul Eggert [Fri, 6 Aug 2004 04:48:04 +0000 (04:48 +0000)]
(gl_PATH_CONCAT): Don't require gl_AC_DOS, the
prerequisite modules now handle the DOS stuff.
Don't check for unistd.h.

19 years agoFix indenting glitch.
Paul Eggert [Fri, 6 Aug 2004 04:28:36 +0000 (04:28 +0000)]
Fix indenting glitch.

19 years ago(gl_AC_DOS): filesystem -> file system renaming.
Paul Eggert [Fri, 6 Aug 2004 04:22:55 +0000 (04:22 +0000)]
(gl_AC_DOS): filesystem -> file system renaming.

19 years agofilesystem -> file system
Paul Eggert [Fri, 6 Aug 2004 04:22:04 +0000 (04:22 +0000)]
filesystem -> file system

19 years ago(strip_trailing_slashes): Use bool for booleans.
Paul Eggert [Fri, 6 Aug 2004 04:21:31 +0000 (04:21 +0000)]
(strip_trailing_slashes): Use bool for booleans.

19 years agoInclude <stdbool.h>.
Paul Eggert [Fri, 6 Aug 2004 04:21:07 +0000 (04:21 +0000)]
Include <stdbool.h>.
(FILE_SYSTEM_PREFIX_LEN): Renamed from FILESYSTEM_PREFIX_LEN,
for consistency with POSIX terminology.  All uses changed.
(IS_ABSOLUTE_FILE_NAME, IS_RELATIVE_FILE_NAME): New macros.
(strip_trailing_slashes): Use bool for booleans.

19 years agoMerge from coreutils (first part).
Paul Eggert [Fri, 6 Aug 2004 00:08:44 +0000 (00:08 +0000)]
Merge from coreutils (first part).

19 years agoNew cycle-check module imported from coreutils.
Paul Eggert [Thu, 5 Aug 2004 23:52:18 +0000 (23:52 +0000)]
New cycle-check module imported from coreutils.

19 years agoWork around bug in OpenBSD 3.4 sterror_r: it
Paul Eggert [Thu, 5 Aug 2004 23:39:18 +0000 (23:39 +0000)]
Work around bug in OpenBSD 3.4 sterror_r: it
sometimes returns a positive errno value even when it succeeds.
(print_errno_message) [!LIBC]: Fall back on strerror if
__strerror_r fails.

19 years agoRemove; this doesn't belong here.
Paul Eggert [Thu, 5 Aug 2004 23:37:20 +0000 (23:37 +0000)]
Remove; this doesn't belong here.

19 years agoOoop! Forgot to mention m4/c-strtod.m4.
Paul Eggert [Thu, 5 Aug 2004 23:33:16 +0000 (23:33 +0000)]
Ooop!  Forgot to mention m4/c-strtod.m4.

19 years agoImported from coreutils.
Paul Eggert [Thu, 5 Aug 2004 23:27:27 +0000 (23:27 +0000)]
Imported from coreutils.

19 years agoAdd dummy module.
Bruno Haible [Tue, 3 Aug 2004 19:30:03 +0000 (19:30 +0000)]
Add dummy module.

19 years agoRegenerate.
Paul Eggert [Tue, 3 Aug 2004 18:43:09 +0000 (18:43 +0000)]
Regenerate.

19 years agoRemove "fatal" module.
Paul Eggert [Tue, 3 Aug 2004 18:40:30 +0000 (18:40 +0000)]
Remove "fatal" module.

19 years agoauto
Karl Berry [Tue, 3 Aug 2004 14:03:33 +0000 (14:03 +0000)]
auto

19 years agoupdate from texinfo
Karl Berry [Sun, 1 Aug 2004 12:50:18 +0000 (12:50 +0000)]
update from texinfo

19 years agoupdate from texinfo
Karl Berry [Wed, 28 Jul 2004 01:33:42 +0000 (01:33 +0000)]
update from texinfo

19 years agoupdate from texinfo
Karl Berry [Mon, 26 Jul 2004 13:08:34 +0000 (13:08 +0000)]
update from texinfo

19 years agoNew module 'dummy'.
Bruno Haible [Mon, 19 Jul 2004 20:22:33 +0000 (20:22 +0000)]
New module 'dummy'.

19 years agoAdd extern "C" for C++.
Bruno Haible [Fri, 16 Jul 2004 16:28:48 +0000 (16:28 +0000)]
Add extern "C" for C++.

19 years agoAllow use in C++ environment.
Bruno Haible [Fri, 16 Jul 2004 16:09:12 +0000 (16:09 +0000)]
Allow use in C++ environment.

19 years agos/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g
Paul Eggert [Tue, 13 Jul 2004 17:22:56 +0000 (17:22 +0000)]
s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g

19 years ago* getndelim2.c: Include stddef.h, for ptrdiff_t.
Paul Eggert [Sat, 10 Jul 2004 07:58:10 +0000 (07:58 +0000)]
* getndelim2.c: Include stddef.h, for ptrdiff_t.

19 years agoAdd lib/fchown-stub.c.
Paul Eggert [Sat, 10 Jul 2004 06:29:25 +0000 (06:29 +0000)]
Add lib/fchown-stub.c.

19 years agoupdate from automake
Karl Berry [Mon, 5 Jul 2004 13:11:28 +0000 (13:11 +0000)]
update from automake

19 years agoupdate from texinfo
Karl Berry [Sun, 27 Jun 2004 23:52:54 +0000 (23:52 +0000)]
update from texinfo

19 years agoautoupdate
Karl Berry [Fri, 25 Jun 2004 12:52:17 +0000 (12:52 +0000)]
autoupdate

19 years agognuorg update
Karl Berry [Thu, 24 Jun 2004 12:46:25 +0000 (12:46 +0000)]
gnuorg update

19 years ago* obstack.h (obstack_base): Cast to (void *), per documentation.
Jim Meyering [Thu, 24 Jun 2004 06:05:19 +0000 (06:05 +0000)]
* obstack.h (obstack_base): Cast to (void *), per documentation.

19 years ago(obstack_base): Cast to (void *), per documentation.
Jim Meyering [Thu, 24 Jun 2004 06:04:10 +0000 (06:04 +0000)]
(obstack_base): Cast to (void *), per documentation.

19 years ago(LIBTOOL) [karl]: add.
Karl Berry [Wed, 23 Jun 2004 17:20:59 +0000 (17:20 +0000)]
(LIBTOOL) [karl]: add.

19 years ago.
Karl Berry [Wed, 23 Jun 2004 07:55:10 +0000 (07:55 +0000)]
.

19 years agoAdd argz module, which is autoupdated from libtool.
Paul Eggert [Tue, 22 Jun 2004 18:28:11 +0000 (18:28 +0000)]
Add argz module, which is autoupdated from libtool.

19 years agoautoupdate
Paul Eggert [Tue, 22 Jun 2004 18:05:54 +0000 (18:05 +0000)]
autoupdate

19 years ago(func_all_modules): Add calloc, to match
Paul Eggert [Tue, 22 Jun 2004 18:02:53 +0000 (18:02 +0000)]
(func_all_modules): Add calloc, to match
2004-06-01 addition of calloc module.

19 years agoautoupdate
Karl Berry [Tue, 22 Jun 2004 12:47:17 +0000 (12:47 +0000)]
autoupdate

19 years agoupdate from texinfo
Karl Berry [Sun, 20 Jun 2004 12:56:46 +0000 (12:56 +0000)]
update from texinfo

20 years agoupdate from texinfo
Karl Berry [Wed, 16 Jun 2004 23:28:56 +0000 (23:28 +0000)]
update from texinfo

20 years ago.
Karl Berry [Mon, 14 Jun 2004 07:43:27 +0000 (07:43 +0000)]
.

20 years agoAdd some missing dependencies and/or files.
Paul Eggert [Mon, 14 Jun 2004 03:50:48 +0000 (03:50 +0000)]
Add some missing dependencies and/or files.

20 years agoauto
Karl Berry [Sun, 13 Jun 2004 13:20:20 +0000 (13:20 +0000)]
auto

20 years agoautoupdate
Karl Berry [Fri, 11 Jun 2004 12:58:39 +0000 (12:58 +0000)]
autoupdate

20 years ago.
Karl Berry [Fri, 11 Jun 2004 07:49:12 +0000 (07:49 +0000)]
.