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

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

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

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

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

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

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

19 years ago * modules/calloc: New file.
Jim Meyering [Thu, 10 Jun 2004 08:29:25 +0000 (08:29 +0000)]
* modules/calloc: New file.
* lib/calloc.c: New file.
* m4/calloc.m4: New file.

20 years ago* getdate.y (yylex): Allow space between sign and number.
Paul Eggert [Sun, 6 Jun 2004 18:55:59 +0000 (18:55 +0000)]
* getdate.y (yylex): Allow space between sign and number.

20 years ago.
Karl Berry [Wed, 2 Jun 2004 07:46:23 +0000 (07:46 +0000)]
.

20 years agoMerge from coreutils CVS.
Paul Eggert [Tue, 1 Jun 2004 20:27:08 +0000 (20:27 +0000)]
Merge from coreutils CVS.

20 years agoautoupdate
Karl Berry [Tue, 1 Jun 2004 12:12:36 +0000 (12:12 +0000)]
autoupdate

20 years ago.
Karl Berry [Tue, 1 Jun 2004 07:49:10 +0000 (07:49 +0000)]
.

20 years agoDetect _Bool bug in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].
Paul Eggert [Tue, 1 Jun 2004 05:41:30 +0000 (05:41 +0000)]
Detect _Bool bug in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].

20 years agoRemove dependency of hash and xalloc modules on the malloc and realloc
Paul Eggert [Tue, 1 Jun 2004 03:49:45 +0000 (03:49 +0000)]
Remove dependency of hash and xalloc modules on the malloc and realloc
modules.

20 years agoMention that the 'free' module, LIA-1.
Paul Eggert [Sun, 30 May 2004 07:29:34 +0000 (07:29 +0000)]
Mention that the 'free' module, LIA-1.

20 years ago* free.m4: Replace free if it not known to work, not the other way round.
Paul Eggert [Fri, 21 May 2004 06:09:22 +0000 (06:09 +0000)]
* free.m4: Replace free if it not known to work, not the other way round.

20 years ago* malloc/obstack.c (_obstack) [defined _LIBC]: Bring back this var.
Paul Eggert [Fri, 21 May 2004 04:51:32 +0000 (04:51 +0000)]
* malloc/obstack.c (_obstack) [defined _LIBC]: Bring back this var.

20 years agoRemove unused vars and decls in obstack.
Paul Eggert [Wed, 19 May 2004 20:04:16 +0000 (20:04 +0000)]
Remove unused vars and decls in obstack.

20 years agovasnprintf.c local for now
Karl Berry [Tue, 18 May 2004 12:22:41 +0000 (12:22 +0000)]
vasnprintf.c local for now

20 years ago.
Karl Berry [Tue, 18 May 2004 07:54:50 +0000 (07:54 +0000)]
.

20 years agoSimplify argp by assuming alloca module.
Paul Eggert [Tue, 18 May 2004 05:18:40 +0000 (05:18 +0000)]
Simplify argp by assuming alloca module.

20 years agoFix for format strings like "%2.f".
Bruno Haible [Mon, 17 May 2004 11:27:08 +0000 (11:27 +0000)]
Fix for format strings like "%2.f".

20 years agoPort obstack to the AS/400.
Paul Eggert [Mon, 17 May 2004 07:52:52 +0000 (07:52 +0000)]
Port obstack to the AS/400.

20 years ago.
Karl Berry [Mon, 17 May 2004 07:49:55 +0000 (07:49 +0000)]
.

20 years agoalloca cleanup: always include <alloca.h>.
Paul Eggert [Mon, 17 May 2004 05:41:42 +0000 (05:41 +0000)]
alloca cleanup: always include <alloca.h>.

20 years agogetline cleanup. This changes the getndelim2 API: both order of arguments,
Paul Eggert [Sun, 16 May 2004 19:03:42 +0000 (19:03 +0000)]
getline cleanup.  This changes the getndelim2 API: both order of arguments,
and meaning of delim2 (now uses EOF, not 0, to indicate no delimiter).

20 years agognuorg
Karl Berry [Sun, 16 May 2004 12:39:20 +0000 (12:39 +0000)]
gnuorg