Bruno Haible [Mon, 11 Dec 2006 12:41:09 +0000 (12:41 +0000)]
Don't show the includes for modules that were not explicitly specified.
Karl Berry [Sat, 9 Dec 2006 14:37:43 +0000 (14:37 +0000)]
autoupdate
Jim Meyering [Fri, 8 Dec 2006 17:40:39 +0000 (17:40 +0000)]
Amend prev. message.
Jim Meyering [Fri, 8 Dec 2006 17:37:36 +0000 (17:37 +0000)]
* build-aux/announce-gen ($VERSION): Don't use of $Revision...$.
Instead, use Emacs' time-stamp write hook.
Karl Berry [Fri, 8 Dec 2006 14:48:05 +0000 (14:48 +0000)]
autoupdate
Jim Meyering [Fri, 8 Dec 2006 09:28:23 +0000 (09:28 +0000)]
* build-aux/announce-gen: Add two new options, both optional:
--bootstrap-tools=TOOL_LIST
a comma-separated list of tools, e.g.,
autoconf,automake,bison,gnulib
--gnulib-snapshot-date=DATE
if gnulib is in the bootstrap tool list,
then report this as the snapshot date.
If not specified, use the current date/time.
If you specify a date here, be sure it's UTC.
Ralf Wildenhues [Tue, 5 Dec 2006 22:13:48 +0000 (22:13 +0000)]
* tests/test-argp-2.sh: Fix test to match actual output.
(func_compare): Fix sed script to be portable.
Karl Berry [Tue, 5 Dec 2006 19:44:41 +0000 (19:44 +0000)]
update from texinfo
Paul Eggert [Tue, 5 Dec 2006 18:13:50 +0000 (18:13 +0000)]
Prefer fd < 0 to ! (0 <= fd).
Paul Eggert [Tue, 5 Dec 2006 18:09:17 +0000 (18:09 +0000)]
* lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
workaround for this case. It is not autoconfigured now; offhand
it's hard to see how to autoconfigure it.
Paul Eggert [Mon, 4 Dec 2006 07:23:36 +0000 (07:23 +0000)]
* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
a directory that is about to be chowned. Such a directory's
initial file permissions should permit the owner only and this
should not be changed until after the chown, since the group and
other bits would be incorrect if they granted permission before
the chown.
Paul Eggert [Mon, 4 Dec 2006 06:52:19 +0000 (06:52 +0000)]
Credit Georg Schwarz for reporting that last bug.
Paul Eggert [Mon, 4 Dec 2006 06:41:56 +0000 (06:41 +0000)]
* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
* lib/regex_internal.h (RE_ENABLE_I18N): Likewise.
* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too.
* m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
Jim Meyering [Sun, 3 Dec 2006 10:30:41 +0000 (10:30 +0000)]
provide more info
Jim Meyering [Sun, 3 Dec 2006 10:23:10 +0000 (10:23 +0000)]
* lib/fts.c (fts_load): Don't set sp->fts_dev here, since
p->fts_statp may not yet be defined.
(fts_read): Instead, set it in the caller, once p->fts_statp is
sure to be defined, and corresponds to a top-level directory.
Karl Berry [Sun, 3 Dec 2006 09:02:39 +0000 (09:02 +0000)]
.
Karl Berry [Sat, 2 Dec 2006 19:09:16 +0000 (19:09 +0000)]
autoupdate
Jim Meyering [Sat, 2 Dec 2006 09:18:36 +0000 (09:18 +0000)]
* modules/savewd (Depends-on): Add fcntl_h to avoid self-test
build failure due to missing definition of HAVE_WORKING_O_NOFOLLOW.
Reported by Simon Josefsson.
Karl Berry [Fri, 1 Dec 2006 19:34:34 +0000 (19:34 +0000)]
autoupdate
Paul Eggert [Thu, 30 Nov 2006 23:11:30 +0000 (23:11 +0000)]
* m4/warning.m4: Use the all-permissive copyright notice
recommended by RMS (rather than LGPL).
* m4/vararrays.m4: Likewise.
* m4/flexmember.m4: Likewise.
Bruno Haible [Wed, 29 Nov 2006 14:30:01 +0000 (14:30 +0000)]
Fix double initialization of noinst_LTLIBRARIES.
Jim Meyering [Wed, 29 Nov 2006 09:09:55 +0000 (09:09 +0000)]
fix typo: s/gnulig/gnulib/
Karl Berry [Wed, 29 Nov 2006 09:03:40 +0000 (09:03 +0000)]
.
Paul Eggert [Wed, 29 Nov 2006 00:41:00 +0000 (00:41 +0000)]
* README: Advise users that they might find the bug-gnulig@gnu.org
and autotools-announce@gnu.org mailing lists useful.
Bruno Haible [Tue, 28 Nov 2006 14:19:24 +0000 (14:19 +0000)]
Remove unused file ptrdiff_max.m4.
Bruno Haible [Tue, 28 Nov 2006 14:17:20 +0000 (14:17 +0000)]
Use AC_COMPUTE_INT instead of _AC_COMPUTE_INT.
Jim Meyering [Tue, 28 Nov 2006 09:23:23 +0000 (09:23 +0000)]
s/^ {8}/\t/
Jim Meyering [Tue, 28 Nov 2006 08:35:51 +0000 (08:35 +0000)]
* lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
warning from "gcc -Wshadow" about shadowing the builtin.
Paul Eggert [Mon, 27 Nov 2006 22:58:46 +0000 (22:58 +0000)]
* m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
_AC_COMPUTE_INT.
(AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
2006-11-27 Bruno Haible <bruno@clisp.org>
Paul Eggert [Mon, 27 Nov 2006 19:41:42 +0000 (19:41 +0000)]
* lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.
Bruno Haible [Mon, 27 Nov 2006 14:22:11 +0000 (14:22 +0000)]
Initialize also noinst_LTLIBRARIES.
Bruno Haible [Mon, 27 Nov 2006 14:17:38 +0000 (14:17 +0000)]
Avoid using variable size arrays if gcc does not allow them.
Paul Eggert [Mon, 27 Nov 2006 07:15:26 +0000 (07:15 +0000)]
Fix some incompatibilities with gcc -ansi -pedantic.
* lib/regex.h (__restrict_arr): Don't use the [restrict] syntax
if compiling pedantically with GCC, unless it's C99 or later.
Don't trust sys/cdefs.h's definition of __restrict_arr, either, as
it mishandles gcc -ansi -pedantic as well.
* lib/regex_internal.h (re_token_t): Don't use enum bitfields
if gcc -pedantic.
* lib/regexec.c (check_node_accept_bytes): Don't use auto
initializers for struct if -pedantic, unless it's C99 or later.
Jim Meyering [Sat, 25 Nov 2006 19:35:24 +0000 (19:35 +0000)]
make "date User Name <email@addr.dom>" lines more consistent
Paul Eggert [Sat, 25 Nov 2006 19:29:08 +0000 (19:29 +0000)]
* m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
Don't close an fd more than once. Identical atimes indicate
success, not failure.
Bruno Haible [Thu, 23 Nov 2006 20:18:34 +0000 (20:18 +0000)]
* lib/sincosl.c (kernel_sinl): Fix typo in threshold.
Jim Meyering [Thu, 23 Nov 2006 15:22:51 +0000 (15:22 +0000)]
* build-aux/announce-gen: New file. From coreutils.
Jim Meyering [Wed, 22 Nov 2006 23:48:30 +0000 (23:48 +0000)]
Work around a compile-time error from the HP-UX 11.00 /bin/cc.
* lib/fts.c (enum Fts_stat): Give this previously-anon enum a name.
(fts_read): Use a temporary to narrow the overused st_size member
before using it in a switch statement. Reported by Matthew Woehlke.
Jim Meyering [Wed, 22 Nov 2006 13:40:25 +0000 (13:40 +0000)]
* m4/clock_time.m4 (gl_CLOCK_TIME): Quote AC_SUBST argument.
* m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Likewise.
Bruno Haible [Tue, 21 Nov 2006 12:38:14 +0000 (12:38 +0000)]
Fix bug that caused AM_GNU_GETTEXT([external], [need-formatstring-macros])
to not recognize glibc or external libintl.
Jim Meyering [Tue, 21 Nov 2006 09:15:22 +0000 (09:15 +0000)]
* lib/fts.c (fts_safe_changedir): Move a declaration "up",
so as to remain compatible with older compilers.
Patch from Michael Deutschmann.
Karl Berry [Tue, 21 Nov 2006 09:04:15 +0000 (09:04 +0000)]
.
Jim Meyering [Mon, 20 Nov 2006 23:33:31 +0000 (23:33 +0000)]
The beginnings of syntax-related checks for gnulib.
* lib/Makefile: New file.
* lib/t-idcache: New script. Ensure that the two halves of
idcache.c stay in sync.
Paul Eggert [Mon, 20 Nov 2006 22:07:27 +0000 (22:07 +0000)]
* MODULES.html.sh (File system functions): Add openat.
Paul Eggert [Mon, 20 Nov 2006 22:01:30 +0000 (22:01 +0000)]
* lib/openat.h (rpl_fstatat): New macro, if
[HAVE_OPENAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK.
(fstatat): Define to rpl_fstatat under the same conditions,
unless COMPILING_FSTATAT.
* m4/openat.m4 (gl_FUNC_OPENAT): Compile fstatat.c too, if fstatat
seems to have the bug.
* lib/fstatat.c: New file.
* modules/openat (Files): Add it.
Bruno Haible [Mon, 20 Nov 2006 18:13:41 +0000 (18:13 +0000)]
Beginnings of a Makefile for the gnulib maintainers.
Jim Meyering [Mon, 20 Nov 2006 13:08:38 +0000 (13:08 +0000)]
* lib/idcache.c: Adjust comments in user- and group- portions to
be more accurate, and to be consistent with one another.
Jim Meyering [Mon, 20 Nov 2006 12:59:11 +0000 (12:59 +0000)]
Avoid syntax error in test program.
* m4/gettext.m4 (AM_GNU_GETTEXT): When inside a [...] context,
quote with "[...]", not "[[...]]".
Jim Meyering [Mon, 20 Nov 2006 10:54:06 +0000 (10:54 +0000)]
* lib/idcache.c: Restore most of the 2006-11-06 patch, so as to
continue using the flexible array member (thus, this module performs
half as many malloc calls), with the addition that...
(getgroup, getuser): Consistently record a non-match via an empty
"name" string, and map an empty string match to a NULL return value.
* modules/idcache (Depends-on): Re-add flexmember.
Jim Meyering [Mon, 20 Nov 2006 09:30:51 +0000 (09:30 +0000)]
* lib/idcache.c (getuser): Remove all uses of the register keyword.
(getuidbyname, getgroup, getgidbyname): Likewise.
Jim Meyering [Mon, 20 Nov 2006 09:25:38 +0000 (09:25 +0000)]
Use cleaner syntax: NULL rather than 0.
* lib/idcache.c (getuidbyname, getgidbyname): Return NULL, not 0.
Paul Eggert [Mon, 20 Nov 2006 09:10:18 +0000 (09:10 +0000)]
* lib/idcache.c: Undo most recent patch, dated 2006-11-06.
It mishandled the case where the group was missing.
Problem reported by Greg Schafer.
* modules/idcache: Likewise.
Karl Berry [Sun, 19 Nov 2006 09:04:21 +0000 (09:04 +0000)]
.
Jim Meyering [Sat, 18 Nov 2006 11:16:55 +0000 (11:16 +0000)]
* check-module (%exempt_header): Add exception for some
conditionally-included headers.
Jim Meyering [Sat, 18 Nov 2006 11:14:13 +0000 (11:14 +0000)]
* modules/i-ring (Depends-on): Add verify.
(License): Change to LGPL.
Simon Josefsson [Fri, 17 Nov 2006 13:47:43 +0000 (13:47 +0000)]
Revert Jim's 2006-10-23 patch.
Paul Eggert [Fri, 17 Nov 2006 08:02:24 +0000 (08:02 +0000)]
* modules/inline (License): Change from GPL to LGPL.
Jim Meyering [Thu, 16 Nov 2006 23:41:22 +0000 (23:41 +0000)]
* modules/d-type (License): Switch to LGPL.
Karl Berry [Thu, 16 Nov 2006 14:22:26 +0000 (14:22 +0000)]
autoupdate
Bruno Haible [Wed, 15 Nov 2006 20:54:48 +0000 (20:54 +0000)]
Fix alloca.m4 message.
Bruno Haible [Wed, 15 Nov 2006 20:50:54 +0000 (20:50 +0000)]
No need to invoke gl_FUNC_ALLOCA more than once. But using AC_REQUIRE would
be wrong here, since gl_FUNC_ALLOCA calls AC_FUNC_ALLOCA which has an effect
on @ALLOCA@.
Bruno Haible [Wed, 15 Nov 2006 20:47:08 +0000 (20:47 +0000)]
Add license compatibility check in --create-testdir.
Eric Blake [Wed, 15 Nov 2006 18:13:04 +0000 (18:13 +0000)]
* m4/alloca.m4 (gl_FUNC_ALLOCA): Use AC_CACHE_CHECK to avoid a
random "(cached)" in configure output.
Paul Eggert [Tue, 14 Nov 2006 22:27:06 +0000 (22:27 +0000)]
Reindent for consistency.
Ralf Wildenhues [Tue, 14 Nov 2006 22:07:11 +0000 (22:07 +0000)]
* m4/inttypes.m4 (gl_INTTYPES_H): Use AC_CACHE_CHECK so that the
test for conforming inttypes.h is both announced and cached.
Ralf Wildenhues [Tue, 14 Nov 2006 22:01:14 +0000 (22:01 +0000)]
* MODULES.html.sh (seen_modules, seen_files): New variables.
(func_module): Rewrite to use a few less gnulib-tool and sed
invocations. Avoid a couple of quadratic algorithms for ...
(missed_modules, missed_files): ... these, with ...
(func_append, func_tmpdir): ... these new functions, from
gnulib-tool. Analogously, install traps for cleanup.
Ralf Wildenhues [Tue, 14 Nov 2006 20:31:04 +0000 (20:31 +0000)]
* tests/test-gc.c (main): Remove unused variables.
* tests/test-read-file.c: Include stdlib.h, for 'free'.
Paul Eggert [Tue, 14 Nov 2006 17:52:58 +0000 (17:52 +0000)]
* modules/inttostr (License): Change to LGPL.
Eric Blake [Tue, 14 Nov 2006 14:12:03 +0000 (14:12 +0000)]
* modules/tempname (License): Change to LGPL.
Eric Blake [Tue, 14 Nov 2006 13:32:22 +0000 (13:32 +0000)]
* doc/functions.texi (Function Portability): *printf functions on
Cygwin now understand all POSIX size specifiers.
Bruno Haible [Tue, 14 Nov 2006 11:07:51 +0000 (11:07 +0000)]
Relicense under LGPL.
Bruno Haible [Tue, 14 Nov 2006 10:30:06 +0000 (10:30 +0000)]
More support for GNOME libraries.
Bruno Haible [Tue, 14 Nov 2006 10:22:12 +0000 (10:22 +0000)]
Support for library names with dots.
Karl Berry [Tue, 14 Nov 2006 09:44:46 +0000 (09:44 +0000)]
.
Bruno Haible [Tue, 14 Nov 2006 09:37:20 +0000 (09:37 +0000)]
Fix --create-testdir --with-tests.
Bruno Haible [Mon, 13 Nov 2006 19:07:29 +0000 (19:07 +0000)]
Override also AC_LIBSOURCES. Works around an automake error
"automatically discovered file `error.c' should not be explicitly mentioned"
in some circumstances.
Eric Blake [Mon, 13 Nov 2006 14:30:13 +0000 (14:30 +0000)]
* lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the
element, not its node.
Bruno Haible [Mon, 13 Nov 2006 12:35:41 +0000 (12:35 +0000)]
Replace build-aux/ also in the Makefile snippet.
Bruno Haible [Mon, 13 Nov 2006 12:35:01 +0000 (12:35 +0000)]
New option --local-symlink.
Bruno Haible [Mon, 13 Nov 2006 12:34:33 +0000 (12:34 +0000)]
Fix the symlinks installed by the --symlink option.
Bruno Haible [Mon, 13 Nov 2006 12:33:43 +0000 (12:33 +0000)]
Finish support for source files in subdirectories.
Bruno Haible [Mon, 13 Nov 2006 12:33:07 +0000 (12:33 +0000)]
Synthesize also an EXTRA_lib_SOURCES augmentation.
Jim Meyering [Sun, 12 Nov 2006 17:35:38 +0000 (17:35 +0000)]
Make fts (in FTS_CWDFD mode) more efficient by caching a few open
file descriptors. This also averts a failure on systems with
native openat support when a traversed directory lacks "x" access.
* lib/fts_.h: Include "i-ring.h"
(struct FTS) [fts_fd_ring]: New member.
* lib/fts.c (RESTORE_INITIAL_CWD): Also call fd_ring_clear.
(FCHDIR): Add parentheses.
(fd_ring_check, fd_ring_print) [!FTS_DEBUG]: Define away.
(cwd_advance_fd): Add a 3rd parameter. Adjust all callers.
When descending, rather than simply closing the previous
fts_cwd_fd value, push that file descriptor onto the ring.
(same_fd, fd_ring_print, fd_ring_check) [FTS_DEBUG]: New functions.
(fts_open): Initialize the new fd_ring member.
(fts_close): Clear the ring.
(fts_safe_changedir): When possible, use our new fd_ring to skip
the diropen and fstat and dev/ino comparison that would normally
accompany a virtual `chdir ("..")'.
* modules/fts (Depends-on): Add i-ring.
* modules/i-ring: New module.
* lib/i-ring.c, lib/i-ring.h, lib/i-ring-test.c: New files.
* m4/i-ring.m4: New file.
Ralf Wildenhues [Sun, 12 Nov 2006 09:53:16 +0000 (09:53 +0000)]
* gnulib-tool (func_create_testdir): Fix replacement of
`build-aux' in configure.ac. Run autotools in gltests
subdirectory.
(func_create_testdir, func_create_megatestdir, test): There is
no need for '--force' in most autotool invocations in a new
tree. Actually fail the whole test if any of the tools, or the
configure or make stages fail.
Ralf Wildenhues [Sun, 12 Nov 2006 09:50:10 +0000 (09:50 +0000)]
Sync from Automake.
* build-aux/gnupload: Revert last change. Add pointer to upload
instructions of the GNU Maintenance Instructions.
Suggestion by Karl Berry.
Karl Berry [Sat, 11 Nov 2006 09:05:23 +0000 (09:05 +0000)]
.
Jim Meyering [Fri, 10 Nov 2006 22:22:31 +0000 (22:22 +0000)]
* lib/fts.c [FTS_DEBUG]: Don't try to print a pointer via %s.
Bruno Haible [Fri, 10 Nov 2006 14:49:09 +0000 (14:49 +0000)]
Avoid unused variable warnings with gcc.
Bruno Haible [Fri, 10 Nov 2006 14:37:40 +0000 (14:37 +0000)]
Use a command that uses $CC $CFLAGS, not $CPP, to test whether inline is
effective. From Jim.
Jim Meyering [Fri, 10 Nov 2006 11:00:52 +0000 (11:00 +0000)]
* modules/inline: New file/module.
* modules/xalloc (Files): Remove m4/inline.m4.
(Depends-on): Add inline, instead.
* modules/oset: Likewise.
* modules/list: Likewise.
Paul Eggert [Fri, 10 Nov 2006 01:03:39 +0000 (01:03 +0000)]
* lib/stdint_.h (uintmax_t): Fix typo: int64_t -> uint64_t.
Problem reported by Matthew Woehlke.
Eric Blake [Thu, 9 Nov 2006 18:49:46 +0000 (18:49 +0000)]
* lib/tempname.c (gen_tempname): Remove variant that invokes
__gen_tempname.
* m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Don't test for
__gen_tempname.
Karl Berry [Thu, 9 Nov 2006 01:23:33 +0000 (01:23 +0000)]
update from texinfo
Paul Eggert [Wed, 8 Nov 2006 21:41:27 +0000 (21:41 +0000)]
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Set ac_cv_type_long_long_int
to 'yes' instead of 'cross-compiling'.
Paul Eggert [Wed, 8 Nov 2006 20:13:12 +0000 (20:13 +0000)]
* lib/quotearg.h (quotearg_free): New decl.
* lib/quotearg.c (quotearg_free): New function.
(slot0, nslots, slotvec0, slotvec):
Now file-scope so that quotearg_free can get at them.
Ralf Wildenhues [Wed, 8 Nov 2006 18:58:42 +0000 (18:58 +0000)]
Sync from Automake.
* build-aux/gnupload: Add missing 'gnu' to example URL.
Report by Karl Berry.
Karl Berry [Wed, 8 Nov 2006 16:07:50 +0000 (16:07 +0000)]
autoupdate
Bruno Haible [Wed, 8 Nov 2006 14:03:04 +0000 (14:03 +0000)]
Notice when GCC doesn't do inlining.
Jim Meyering [Wed, 8 Nov 2006 13:49:24 +0000 (13:49 +0000)]
* lib/fts.c (fts_safe_changedir): Add a comment.
Karl Berry [Wed, 8 Nov 2006 09:05:19 +0000 (09:05 +0000)]
.