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).
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).
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.
Paul Eggert [Fri, 24 Dec 2004 08:35:58 +0000 (08:35 +0000)]
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Fri, 24 Dec 2004 08:07:29 +0000 (08:07 +0000)]
(parser_init): Omit unnecessary alignments, and comment the alignments.
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.
Paul Eggert [Fri, 24 Dec 2004 06:06:57 +0000 (06:06 +0000)]
* getdate.m4 (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.
Paul Eggert [Fri, 24 Dec 2004 06:06:17 +0000 (06:06 +0000)]
* modules/getdate (Depends-on): Remove alloca-opt.
Paul Eggert [Fri, 24 Dec 2004 06:06:01 +0000 (06:06 +0000)]
(Depends-on): Remove alloca-opt.
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.
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.
Paul Eggert [Fri, 24 Dec 2004 05:21:23 +0000 (05:21 +0000)]
* getdate.y (YYINITDEPTH): New macro.
Paul Eggert [Fri, 24 Dec 2004 05:21:05 +0000 (05:21 +0000)]
(YYINITDEPTH): New macro, so that the initial stack is small too.
Sergey Poznyakoff [Wed, 22 Dec 2004 09:51:09 +0000 (09:51 +0000)]
Updated
Sergey Poznyakoff [Wed, 22 Dec 2004 09:50:38 +0000 (09:50 +0000)]
(parser_init): Avoid arithmetics on void pointers.
Paul Eggert [Mon, 20 Dec 2004 08:08:51 +0000 (08:08 +0000)]
Fix typo in comment in previous change.
Paul Eggert [Mon, 20 Dec 2004 04:26:40 +0000 (04:26 +0000)]
* modules/regex (lib_SOURCES): Undo previous change.
Paul Eggert [Mon, 20 Dec 2004 04:25:22 +0000 (04:25 +0000)]
Undo previous change.
Paul Eggert [Sun, 19 Dec 2004 13:45:43 +0000 (13:45 +0000)]
* modules/getdate: Depend on alloca-opt, not alloca.
Paul Eggert [Sun, 19 Dec 2004 13:45:27 +0000 (13:45 +0000)]
Depend on alloca-opt, not alloca.
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.
Bruno Haible [Sat, 18 Dec 2004 18:27:48 +0000 (18:27 +0000)]
Portability fix: Don't assume sigaction(). (mingw doesn't have it.)
Bruno Haible [Sat, 18 Dec 2004 18:20:45 +0000 (18:20 +0000)]
Signals whose handler is set to SIG_IGN are not fatal.
Bruno Haible [Sat, 18 Dec 2004 16:27:31 +0000 (16:27 +0000)]
Documentation of 'alloca' and 'alloca-opt' modules.
Simon Josefsson [Sat, 18 Dec 2004 15:16:09 +0000 (15:16 +0000)]
* modules/alloca: Depend on alloca-opt, instead of duplicating it.
Jim Meyering [Fri, 17 Dec 2004 08:41:23 +0000 (08:41 +0000)]
update scriptversion, but not copyright date
Jim Meyering [Fri, 17 Dec 2004 08:13:00 +0000 (08:13 +0000)]
*** empty log message ***
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.
Simon Josefsson [Thu, 16 Dec 2004 01:32:32 +0000 (01:32 +0000)]
Typo.
Simon Josefsson [Thu, 16 Dec 2004 01:22:30 +0000 (01:22 +0000)]
Add license.
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.
Paul Eggert [Wed, 15 Dec 2004 22:31:01 +0000 (22:31 +0000)]
(func_emit_lib_Makefile_am): Shorten a long sed command.
Karl Berry [Mon, 13 Dec 2004 13:26:32 +0000 (13:26 +0000)]
.
Paul Eggert [Sun, 12 Dec 2004 23:19:40 +0000 (23:19 +0000)]
Fix typo in previous change.
Paul Eggert [Sun, 12 Dec 2004 23:19:21 +0000 (23:19 +0000)]
(Files): 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.
Karl Berry [Sun, 12 Dec 2004 14:39:22 +0000 (14:39 +0000)]
texmfroot
Karl Berry [Thu, 9 Dec 2004 13:37:56 +0000 (13:37 +0000)]
autoupdate
Paul Eggert [Wed, 8 Dec 2004 22:25:43 +0000 (22:25 +0000)]
Merge from coreutils.
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.
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.
Paul Eggert [Mon, 6 Dec 2004 21:53:05 +0000 (21:53 +0000)]
Fix typo in file name.
Paul Eggert [Mon, 6 Dec 2004 21:51:44 +0000 (21:51 +0000)]
* ls-mnt-fs.m4 (AC_FUNC_GETMNTENT): New macro.
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.
Karl Berry [Mon, 6 Dec 2004 21:45:21 +0000 (21:45 +0000)]
autoupdate
Karl Berry [Mon, 6 Dec 2004 09:30:29 +0000 (09:30 +0000)]
.
Paul Eggert [Sun, 5 Dec 2004 06:52:28 +0000 (06:52 +0000)]
* modules/hard-locale (Depends-on): Add strdup.
Paul Eggert [Sun, 5 Dec 2004 06:52:12 +0000 (06:52 +0000)]
(Depends-on): Add strdup.
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.
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>.
Paul Eggert [Fri, 3 Dec 2004 06:36:56 +0000 (06:36 +0000)]
.
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.)
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.)
Paul Eggert [Wed, 1 Dec 2004 07:31:23 +0000 (07:31 +0000)]
Import getcwd and readutmp changes from coreutils.
Paul Eggert [Wed, 1 Dec 2004 07:31:00 +0000 (07:31 +0000)]
Import readutmp and getcwd changes from gnulib.
Paul Eggert [Wed, 1 Dec 2004 07:30:25 +0000 (07:30 +0000)]
(gl_READUTMP): Don't check for sys/param.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.
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.
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.
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.
Simon Josefsson [Tue, 30 Nov 2004 20:46:52 +0000 (20:46 +0000)]
Add base64.
Simon Josefsson [Tue, 30 Nov 2004 20:45:22 +0000 (20:45 +0000)]
(License): Change to LGPL.
Simon Josefsson [Tue, 30 Nov 2004 20:43:32 +0000 (20:43 +0000)]
Add copyright and copying conditions.
Karl Berry [Mon, 29 Nov 2004 18:37:47 +0000 (18:37 +0000)]
update from gnustandards
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.
Paul Eggert [Sun, 28 Nov 2004 06:02:21 +0000 (06:02 +0000)]
Initial revision, imported from coreutils.
Karl Berry [Fri, 26 Nov 2004 13:34:22 +0000 (13:34 +0000)]
update from texinfo
Paul Eggert [Fri, 26 Nov 2004 08:35:29 +0000 (08:35 +0000)]
Merge from coreutils for getcwd and HP-UX 11.
Jim Meyering [Tue, 23 Nov 2004 21:43:35 +0000 (21:43 +0000)]
*** empty log message ***
Jim Meyering [Tue, 23 Nov 2004 21:43:14 +0000 (21:43 +0000)]
remove trailing blanks
Paul Eggert [Tue, 23 Nov 2004 21:00:28 +0000 (21:00 +0000)]
(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.
Paul Eggert [Tue, 23 Nov 2004 20:59:50 +0000 (20:59 +0000)]
(futimens): New decl.
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.
Paul Eggert [Tue, 23 Nov 2004 20:59:12 +0000 (20:59 +0000)]
Add comment.
Paul Eggert [Tue, 23 Nov 2004 20:58:57 +0000 (20:58 +0000)]
Merge from coreutils.
Karl Berry [Tue, 23 Nov 2004 13:13:20 +0000 (13:13 +0000)]
update from texinfo
Karl Berry [Tue, 23 Nov 2004 08:59:44 +0000 (08:59 +0000)]
.
Paul Eggert [Tue, 23 Nov 2004 06:19:22 +0000 (06:19 +0000)]
* modules/canonicalize (Depends-on): Add xreadlink.
Paul Eggert [Tue, 23 Nov 2004 06:19:11 +0000 (06:19 +0000)]
(Depends-on): Add xreadlink.
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.
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.
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.
Sergey Poznyakoff [Tue, 23 Nov 2004 02:50:02 +0000 (02:50 +0000)]
Updated
Paul Eggert [Sun, 21 Nov 2004 07:22:23 +0000 (07:22 +0000)]
Update log to match latest getopt checkin.
Paul Eggert [Sun, 21 Nov 2004 07:22:02 +0000 (07:22 +0000)]
Fix brain cramp in previous checkin.
Paul Eggert [Sun, 21 Nov 2004 05:11:14 +0000 (05:11 +0000)]
* getopt_.h: Use __CONCAT rather than ## directly.
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.
Bruno Haible [Fri, 19 Nov 2004 13:46:41 +0000 (13:46 +0000)]
Move comments from strtok_r.c to strtok_r.h.
Karl Berry [Fri, 19 Nov 2004 13:18:58 +0000 (13:18 +0000)]
cannot sync getopt_int.h any more
Karl Berry [Fri, 19 Nov 2004 12:55:36 +0000 (12:55 +0000)]
update from texinfo
Paul Eggert [Wed, 17 Nov 2004 23:07:53 +0000 (23:07 +0000)]
realloc, calloc portability fixes.
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.
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.
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.
Paul Eggert [Wed, 17 Nov 2004 23:05:02 +0000 (23:05 +0000)]
Fix header comment to match module title.
Paul Eggert [Wed, 17 Nov 2004 22:48:23 +0000 (22:48 +0000)]
(rpl_realloc): Call 'free' if n==0, since realloc might fail.
Problem reported by Yoann Vandoorselaere.
Karl Berry [Wed, 17 Nov 2004 13:17:00 +0000 (13:17 +0000)]
.
Karl Berry [Wed, 17 Nov 2004 08:52:44 +0000 (08:52 +0000)]
.