gnulib.git
19 years ago[!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
Paul Eggert [Wed, 29 Dec 2004 05:49:08 +0000 (05:49 +0000)]
[!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
not needed.  This removes a dependency on the gettext module.
[defined _LIBC]: Do not include <libintl.h>; not needed.

19 years ago* tests/test-base64.c: Include required header files. Remove
Simon Josefsson [Tue, 28 Dec 2004 02:36:14 +0000 (02:36 +0000)]
* tests/test-base64.c: Include required header files.  Remove
unused variables.

19 years agoautoupdate
Karl Berry [Fri, 24 Dec 2004 14:00:46 +0000 (14:00 +0000)]
autoupdate

19 years ago* c-strtod.m4 (gl_C99_STRTOLD): New macro.
Paul Eggert [Fri, 24 Dec 2004 08:36:54 +0000 (08:36 +0000)]
* c-strtod.m4 (gl_C99_STRTOLD): New macro.
(gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).

19 years ago(gl_C99_STRTOLD): New macro.
Paul Eggert [Fri, 24 Dec 2004 08:36:41 +0000 (08:36 +0000)]
(gl_C99_STRTOLD): New macro.
(gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).

19 years ago* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Fri, 24 Dec 2004 08:36:15 +0000 (08:36 +0000)]
* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

19 years ago(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Fri, 24 Dec 2004 08:35:58 +0000 (08:35 +0000)]
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

19 years ago(parser_init): Omit unnecessary alignments, and comment the alignments.
Paul Eggert [Fri, 24 Dec 2004 08:07:29 +0000 (08:07 +0000)]
(parser_init): Omit unnecessary alignments, and comment the alignments.

19 years agoInclude <stddef.h>.
Paul Eggert [Fri, 24 Dec 2004 08:02:03 +0000 (08:02 +0000)]
Include <stddef.h>.
(alignof, alignto): New macros.
(parser_init): Don't assume that void * is aligned sufficiently
for struct option.

19 years ago* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:06:57 +0000 (06:06 +0000)]
* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.

19 years ago(gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:06:43 +0000 (06:06 +0000)]
(gl_GETDATE): Remove AC_FUNC_ALLOCA.

19 years ago* modules/getdate (Depends-on): Remove alloca-opt.
Paul Eggert [Fri, 24 Dec 2004 06:06:17 +0000 (06:06 +0000)]
* modules/getdate (Depends-on): Remove alloca-opt.

19 years ago(Depends-on): Remove alloca-opt.
Paul Eggert [Fri, 24 Dec 2004 06:06:01 +0000 (06:06 +0000)]
(Depends-on): Remove alloca-opt.

19 years ago* getdate.y (YYSTACK_USE_ALLOCA): Define to 0, since there's no
Paul Eggert [Fri, 24 Dec 2004 05:29:34 +0000 (05:29 +0000)]
* getdate.y (YYSTACK_USE_ALLOCA): Define to 0, since there's no
need to extend the stack.

19 years ago(YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the
Paul Eggert [Fri, 24 Dec 2004 05:29:20 +0000 (05:29 +0000)]
(YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the
stack.

19 years ago* getdate.y (YYINITDEPTH): New macro.
Paul Eggert [Fri, 24 Dec 2004 05:21:23 +0000 (05:21 +0000)]
* getdate.y (YYINITDEPTH): New macro.

19 years ago(YYINITDEPTH): New macro, so that the initial stack is small too.
Paul Eggert [Fri, 24 Dec 2004 05:21:05 +0000 (05:21 +0000)]
(YYINITDEPTH): New macro, so that the initial stack is small too.

19 years agoUpdated
Sergey Poznyakoff [Wed, 22 Dec 2004 09:51:09 +0000 (09:51 +0000)]
Updated

19 years ago(parser_init): Avoid arithmetics on void pointers.
Sergey Poznyakoff [Wed, 22 Dec 2004 09:50:38 +0000 (09:50 +0000)]
(parser_init): Avoid arithmetics on void pointers.

19 years agoFix typo in comment in previous change.
Paul Eggert [Mon, 20 Dec 2004 08:08:51 +0000 (08:08 +0000)]
Fix typo in comment in previous change.

19 years ago* modules/regex (lib_SOURCES): Undo previous change.
Paul Eggert [Mon, 20 Dec 2004 04:26:40 +0000 (04:26 +0000)]
* modules/regex (lib_SOURCES): Undo previous change.

19 years agoUndo previous change.
Paul Eggert [Mon, 20 Dec 2004 04:25:22 +0000 (04:25 +0000)]
Undo previous change.

19 years ago* modules/getdate: Depend on alloca-opt, not alloca.
Paul Eggert [Sun, 19 Dec 2004 13:45:43 +0000 (13:45 +0000)]
* modules/getdate: Depend on alloca-opt, not alloca.

19 years agoDepend on alloca-opt, not alloca.
Paul Eggert [Sun, 19 Dec 2004 13:45:27 +0000 (13:45 +0000)]
Depend on alloca-opt, not alloca.

19 years ago* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Paul Eggert [Sun, 19 Dec 2004 13:41:34 +0000 (13:41 +0000)]
* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Remove now-obsolete comment about AIX.
* getdate.y: Include <alloca.h> only if HAVE_ALLOCA.
(YYSTACK_USE_ALLOCA): Define to 0 if !HAVE_ALLOCA.
(YYMAXDEPTH): New macro.

19 years agoPortability fix: Don't assume sigaction(). (mingw doesn't have it.)
Bruno Haible [Sat, 18 Dec 2004 18:27:48 +0000 (18:27 +0000)]
Portability fix: Don't assume sigaction(). (mingw doesn't have it.)

19 years agoSignals whose handler is set to SIG_IGN are not fatal.
Bruno Haible [Sat, 18 Dec 2004 18:20:45 +0000 (18:20 +0000)]
Signals whose handler is set to SIG_IGN are not fatal.

19 years agoDocumentation of 'alloca' and 'alloca-opt' modules.
Bruno Haible [Sat, 18 Dec 2004 16:27:31 +0000 (16:27 +0000)]
Documentation of 'alloca' and 'alloca-opt' modules.

19 years ago* modules/alloca: Depend on alloca-opt, instead of duplicating it.
Simon Josefsson [Sat, 18 Dec 2004 15:16:09 +0000 (15:16 +0000)]
* modules/alloca: Depend on alloca-opt, instead of duplicating it.

19 years agoupdate scriptversion, but not copyright date
Jim Meyering [Fri, 17 Dec 2004 08:41:23 +0000 (08:41 +0000)]
update scriptversion, but not copyright date

19 years ago*** empty log message ***
Jim Meyering [Fri, 17 Dec 2004 08:13:00 +0000 (08:13 +0000)]
*** empty log message ***

19 years agoUse `(exit N); exit N', not `(exit N); exit'.
Jim Meyering [Fri, 17 Dec 2004 08:12:52 +0000 (08:12 +0000)]
Use `(exit N); exit N', not `(exit N); exit'.
Otherwise, install-sh could exit with improper exit status when
exiting via a trapped interrupt.  Thanks to a report from Bob Proulx.

19 years agoTypo.
Simon Josefsson [Thu, 16 Dec 2004 01:32:32 +0000 (01:32 +0000)]
Typo.

19 years agoAdd license.
Simon Josefsson [Thu, 16 Dec 2004 01:22:30 +0000 (01:22 +0000)]
Add license.

19 years ago* gnulib-tool (func_emit_lib_Makefile_am): Shorten a long sed command.
Paul Eggert [Wed, 15 Dec 2004 22:31:17 +0000 (22:31 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Shorten a long sed command.

19 years ago(func_emit_lib_Makefile_am): Shorten a long sed command.
Paul Eggert [Wed, 15 Dec 2004 22:31:01 +0000 (22:31 +0000)]
(func_emit_lib_Makefile_am): Shorten a long sed command.

19 years ago.
Karl Berry [Mon, 13 Dec 2004 13:26:32 +0000 (13:26 +0000)]
.

19 years agoFix typo in previous change.
Paul Eggert [Sun, 12 Dec 2004 23:19:40 +0000 (23:19 +0000)]
Fix typo in previous change.

19 years ago(Files): Add m4/d-ino.m4
Paul Eggert [Sun, 12 Dec 2004 23:19:21 +0000 (23:19 +0000)]
(Files): Add m4/d-ino.m4

19 years ago* modules/getcwd (Depends-on): Add m4/d-ino.m4.
Paul Eggert [Sun, 12 Dec 2004 23:18:48 +0000 (23:18 +0000)]
* modules/getcwd (Depends-on): Add m4/d-ino.m4.

19 years agotexmfroot
Karl Berry [Sun, 12 Dec 2004 14:39:22 +0000 (14:39 +0000)]
texmfroot

19 years agoautoupdate
Karl Berry [Thu, 9 Dec 2004 13:37:56 +0000 (13:37 +0000)]
autoupdate

19 years agoMerge from coreutils.
Paul Eggert [Wed, 8 Dec 2004 22:25:43 +0000 (22:25 +0000)]
Merge from coreutils.

19 years ago* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change: spurious "-l"s.
Paul Eggert [Tue, 7 Dec 2004 18:41:40 +0000 (18:41 +0000)]
* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change: spurious "-l"s.

19 years ago(AC_FUNC_GETMNTENT): Fix typo in previous change:
Paul Eggert [Tue, 7 Dec 2004 18:41:20 +0000 (18:41 +0000)]
(AC_FUNC_GETMNTENT): Fix typo in previous change:
spurious "-l"s.  Problem reported by Stepan Kasal.

19 years agoFix typo in file name.
Paul Eggert [Mon, 6 Dec 2004 21:53:05 +0000 (21:53 +0000)]
Fix typo in file name.

19 years ago* ls-mnt-fs.m4 (AC_FUNC_GETMNTENT): New macro.
Paul Eggert [Mon, 6 Dec 2004 21:51:44 +0000 (21:51 +0000)]
* ls-mnt-fs.m4 (AC_FUNC_GETMNTENT): New macro.

19 years ago(AC_FUNC_GETMNTENT): New macro, to work around bug
Paul Eggert [Mon, 6 Dec 2004 21:51:24 +0000 (21:51 +0000)]
(AC_FUNC_GETMNTENT): New macro, to work around bug
in Autoconf 2.59.  Problem reported by Mark D. Baushke.

19 years agoautoupdate
Karl Berry [Mon, 6 Dec 2004 21:45:21 +0000 (21:45 +0000)]
autoupdate

19 years ago.
Karl Berry [Mon, 6 Dec 2004 09:30:29 +0000 (09:30 +0000)]
.

19 years ago* modules/hard-locale (Depends-on): Add strdup.
Paul Eggert [Sun, 5 Dec 2004 06:52:28 +0000 (06:52 +0000)]
* modules/hard-locale (Depends-on): Add strdup.

19 years ago(Depends-on): Add strdup.
Paul Eggert [Sun, 5 Dec 2004 06:52:12 +0000 (06:52 +0000)]
(Depends-on): Add strdup.

19 years agoImport chamges from coreutils, so that the code now assumes
Paul Eggert [Sun, 5 Dec 2004 06:50:15 +0000 (06:50 +0000)]
Import chamges from coreutils, so that the code now assumes
that <locale.h> and its functions exist.

19 years agomodules/getaddrinfo (License): Add LGPL, reported by Yoann
Simon Josefsson [Sat, 4 Dec 2004 19:00:45 +0000 (19:00 +0000)]
modules/getaddrinfo (License): Add LGPL, reported by Yoann
Vandoorselaere <yoann@prelude-ids.org>.

19 years ago.
Paul Eggert [Fri, 3 Dec 2004 06:36:56 +0000 (06:36 +0000)]
.

19 years ago* mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
Paul Eggert [Fri, 3 Dec 2004 06:35:48 +0000 (06:35 +0000)]
* mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
convert T2, not T.  (Imported from libc.)

19 years ago(__mktime_internal): If SEC_REQUESTED != SEC,
Paul Eggert [Fri, 3 Dec 2004 06:35:31 +0000 (06:35 +0000)]
(__mktime_internal): If SEC_REQUESTED != SEC,
convert T2, not T.  (Imported from libc.)

19 years agoImport getcwd and readutmp changes from coreutils.
Paul Eggert [Wed, 1 Dec 2004 07:31:23 +0000 (07:31 +0000)]
Import getcwd and readutmp changes from coreutils.

19 years agoImport readutmp and getcwd changes from gnulib.
Paul Eggert [Wed, 1 Dec 2004 07:31:00 +0000 (07:31 +0000)]
Import readutmp and getcwd changes from gnulib.

19 years ago(gl_READUTMP): Don't check for sys/param.h.
Paul Eggert [Wed, 1 Dec 2004 07:30:25 +0000 (07:30 +0000)]
(gl_READUTMP): Don't check for sys/param.h.

19 years agoDon't include <errno.h>,
Paul Eggert [Wed, 1 Dec 2004 07:30:05 +0000 (07:30 +0000)]
Don't include <errno.h>,
<sys/param.h>, <time.h>; not needed to establish interface.
(errno): Remove decl.
(HAVE_STRUCT_XTMP_UT_TYPE): Remove; no longer needed.
(UT_TYPE_EQ, UT_TYPE_NOT_DEFINED, UT_TYPE_BOOT_TIME,
UT_TYPE_USER_PROCESS, IS_USER_PROCESS): New macros.

19 years agoInclude readutmp.h first.
Paul Eggert [Wed, 1 Dec 2004 07:29:45 +0000 (07:29 +0000)]
Include readutmp.h first.
Include <errno.h>, since readutmp.h no longer does that.

19 years ago(gl_FUNC_GETCWD_PATH_MAX):
Paul Eggert [Wed, 1 Dec 2004 07:27:18 +0000 (07:27 +0000)]
(gl_FUNC_GETCWD_PATH_MAX):
Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.

19 years ago(is_ENAMETOOLONG): New macro.
Paul Eggert [Wed, 1 Dec 2004 07:26:53 +0000 (07:26 +0000)]
(is_ENAMETOOLONG): New macro.
(__getcwd.c): Don't restore errno; glibc doesn't.
[HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD]: Try system getcwd
first, falling back to our code only if its results look suspicious.
Ensure that the resulting buffer is only as large as necessary.

19 years agoAdd base64.
Simon Josefsson [Tue, 30 Nov 2004 20:46:52 +0000 (20:46 +0000)]
Add base64.

19 years ago(License): Change to LGPL.
Simon Josefsson [Tue, 30 Nov 2004 20:45:22 +0000 (20:45 +0000)]
(License): Change to LGPL.

19 years agoAdd copyright and copying conditions.
Simon Josefsson [Tue, 30 Nov 2004 20:43:32 +0000 (20:43 +0000)]
Add copyright and copying conditions.

19 years agoupdate from gnustandards
Karl Berry [Mon, 29 Nov 2004 18:37:47 +0000 (18:37 +0000)]
update from gnustandards

19 years ago* getcwd.h: New file, which I forgot to check in on 2004-11-25.
Paul Eggert [Sun, 28 Nov 2004 06:09:06 +0000 (06:09 +0000)]
* getcwd.h: New file, which I forgot to check in on 2004-11-25.

19 years agoInitial revision, imported from coreutils.
Paul Eggert [Sun, 28 Nov 2004 06:02:21 +0000 (06:02 +0000)]
Initial revision, imported from coreutils.

19 years agoupdate from texinfo
Karl Berry [Fri, 26 Nov 2004 13:34:22 +0000 (13:34 +0000)]
update from texinfo

19 years agoMerge from coreutils for getcwd and HP-UX 11.
Paul Eggert [Fri, 26 Nov 2004 08:35:29 +0000 (08:35 +0000)]
Merge from coreutils for getcwd and HP-UX 11.

19 years ago*** empty log message ***
Jim Meyering [Tue, 23 Nov 2004 21:43:35 +0000 (21:43 +0000)]
*** empty log message ***

19 years agoremove trailing blanks
Jim Meyering [Tue, 23 Nov 2004 21:43:14 +0000 (21:43 +0000)]
remove trailing blanks

19 years ago(gl_UTIMENS): Check for futimes function.
Paul Eggert [Tue, 23 Nov 2004 21:00:28 +0000 (21:00 +0000)]
(gl_UTIMENS): Check for futimes function.

19 years ago* utimens.m4 (gl_UTIMENS): Check for futimes function.
Paul Eggert [Tue, 23 Nov 2004 21:00:04 +0000 (21:00 +0000)]
* utimens.m4 (gl_UTIMENS): Check for futimes function.

19 years ago(futimens): New decl.
Paul Eggert [Tue, 23 Nov 2004 20:59:50 +0000 (20:59 +0000)]
(futimens): New decl.

19 years ago(__attribute__, ATTRIBUTE_UNUSED): New macros.
Paul Eggert [Tue, 23 Nov 2004 20:59:33 +0000 (20:59 +0000)]
(__attribute__, ATTRIBUTE_UNUSED): New macros.
(futimens): New function, which uses futimes if available.
(futimens, utimens): Support timespec==NULL, with same semantics
as utime and utimens.

19 years agoAdd comment.
Paul Eggert [Tue, 23 Nov 2004 20:59:12 +0000 (20:59 +0000)]
Add comment.

19 years agoMerge from coreutils.
Paul Eggert [Tue, 23 Nov 2004 20:58:57 +0000 (20:58 +0000)]
Merge from coreutils.

19 years agoupdate from texinfo
Karl Berry [Tue, 23 Nov 2004 13:13:20 +0000 (13:13 +0000)]
update from texinfo

19 years ago.
Karl Berry [Tue, 23 Nov 2004 08:59:44 +0000 (08:59 +0000)]
.

19 years ago* modules/canonicalize (Depends-on): Add xreadlink.
Paul Eggert [Tue, 23 Nov 2004 06:19:22 +0000 (06:19 +0000)]
* modules/canonicalize (Depends-on): Add xreadlink.

19 years ago(Depends-on): Add xreadlink.
Paul Eggert [Tue, 23 Nov 2004 06:19:11 +0000 (06:19 +0000)]
(Depends-on): Add xreadlink.

19 years ago(gl_GETOPT): Check if GETOPT_H is already set, in
Sergey Poznyakoff [Tue, 23 Nov 2004 02:52:44 +0000 (02:52 +0000)]
(gl_GETOPT): Check if GETOPT_H is already set, in
order not to spoil the result of an eventual previous invocation
of gl_GETOPT_SUBSTITUTE.

19 years ago(gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
Sergey Poznyakoff [Tue, 23 Nov 2004 02:52:07 +0000 (02:52 +0000)]
(gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
argp-parse.c depends on getopt internals, that means we should
always use our getopt, to be on the safe side.

19 years agoRe-addition of __getopt_argv_const caused
Sergey Poznyakoff [Tue, 23 Nov 2004 02:50:54 +0000 (02:50 +0000)]
Re-addition of __getopt_argv_const caused
redefinition warnings. To avoid them, include the defines
in `#if !defined __need_getopt ... #endif'. The only place
where __getopt_argv_const is used is in definitions
of getopt_long and getopt_long_only below, which are as well
protected by `#ifndef __need_getopt'.
[defined __GETOPT_PREFIX && !defined __need_getopt]: Undef
__need_getopt after including <stdio.h> and <unistd.h> These
headers might have defined it.

19 years agoUpdated
Sergey Poznyakoff [Tue, 23 Nov 2004 02:50:02 +0000 (02:50 +0000)]
Updated

19 years agoUpdate log to match latest getopt checkin.
Paul Eggert [Sun, 21 Nov 2004 07:22:23 +0000 (07:22 +0000)]
Update log to match latest getopt checkin.

19 years agoFix brain cramp in previous checkin.
Paul Eggert [Sun, 21 Nov 2004 07:22:02 +0000 (07:22 +0000)]
Fix brain cramp in previous checkin.

19 years ago* getopt_.h: Use __CONCAT rather than ## directly.
Paul Eggert [Sun, 21 Nov 2004 05:11:14 +0000 (05:11 +0000)]
* getopt_.h: Use __CONCAT rather than ## directly.

19 years ago(__CONCAT): New macro.
Paul Eggert [Sun, 21 Nov 2004 05:10:10 +0000 (05:10 +0000)]
(__CONCAT): New macro.
(getopt, getopt_long, getopt_long_only, optarg, opterr, optind,
optopt): Use it instead of invoking ## directly; otherwise, the
symbols will be __GETOPT_PREFIXgetopt rather than rpl_getopt.

19 years agoMove comments from strtok_r.c to strtok_r.h.
Bruno Haible [Fri, 19 Nov 2004 13:46:41 +0000 (13:46 +0000)]
Move comments from strtok_r.c to strtok_r.h.

19 years agocannot sync getopt_int.h any more
Karl Berry [Fri, 19 Nov 2004 13:18:58 +0000 (13:18 +0000)]
cannot sync getopt_int.h any more

19 years agoupdate from texinfo
Karl Berry [Fri, 19 Nov 2004 12:55:36 +0000 (12:55 +0000)]
update from texinfo

19 years agorealloc, calloc portability fixes.
Paul Eggert [Wed, 17 Nov 2004 23:07:53 +0000 (23:07 +0000)]
realloc, calloc portability fixes.

19 years ago* calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
Paul Eggert [Wed, 17 Nov 2004 23:07:37 +0000 (23:07 +0000)]
* calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
that mishandle size_t overflow.

19 years ago(_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
Paul Eggert [Wed, 17 Nov 2004 23:07:25 +0000 (23:07 +0000)]
(_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
that mishandle size_t overflow.

19 years ago(rpl_calloc): Defend against buggy calloc implementations
Paul Eggert [Wed, 17 Nov 2004 23:05:47 +0000 (23:05 +0000)]
(rpl_calloc): Defend against buggy calloc implementations
that mishandle size_t overflow.

19 years agoFix header comment to match module title.
Paul Eggert [Wed, 17 Nov 2004 23:05:02 +0000 (23:05 +0000)]
Fix header comment to match module title.