gnulib.git
17 years agoautoupdate
Karl Berry [Fri, 8 Dec 2006 14:48:05 +0000 (14:48 +0000)]
autoupdate

17 years ago* build-aux/announce-gen: Add two new options, both optional:
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.

17 years ago* tests/test-argp-2.sh: Fix test to match actual output.
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.

17 years agoupdate from texinfo
Karl Berry [Tue, 5 Dec 2006 19:44:41 +0000 (19:44 +0000)]
update from texinfo

17 years agoPrefer fd < 0 to ! (0 <= fd).
Paul Eggert [Tue, 5 Dec 2006 18:13:50 +0000 (18:13 +0000)]
Prefer fd < 0 to ! (0 <= fd).

17 years ago* lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
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.

17 years ago* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
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.

17 years agoCredit Georg Schwarz for reporting that last bug.
Paul Eggert [Mon, 4 Dec 2006 06:52:19 +0000 (06:52 +0000)]
Credit Georg Schwarz for reporting that last bug.

17 years ago* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
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.

17 years agoprovide more info
Jim Meyering [Sun, 3 Dec 2006 10:30:41 +0000 (10:30 +0000)]
provide more info

17 years ago* lib/fts.c (fts_load): Don't set sp->fts_dev here, since
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.

17 years ago.
Karl Berry [Sun, 3 Dec 2006 09:02:39 +0000 (09:02 +0000)]
.

17 years agoautoupdate
Karl Berry [Sat, 2 Dec 2006 19:09:16 +0000 (19:09 +0000)]
autoupdate

17 years ago* modules/savewd (Depends-on): Add fcntl_h to avoid self-test
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.

17 years agoautoupdate
Karl Berry [Fri, 1 Dec 2006 19:34:34 +0000 (19:34 +0000)]
autoupdate

17 years ago* m4/warning.m4: Use the all-permissive copyright notice
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.

17 years agoFix double initialization of noinst_LTLIBRARIES.
Bruno Haible [Wed, 29 Nov 2006 14:30:01 +0000 (14:30 +0000)]
Fix double initialization of noinst_LTLIBRARIES.

17 years agofix typo: s/gnulig/gnulib/
Jim Meyering [Wed, 29 Nov 2006 09:09:55 +0000 (09:09 +0000)]
fix typo: s/gnulig/gnulib/

17 years ago.
Karl Berry [Wed, 29 Nov 2006 09:03:40 +0000 (09:03 +0000)]
.

17 years ago* README: Advise users that they might find the bug-gnulig@gnu.org
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.

17 years agoRemove unused file ptrdiff_max.m4.
Bruno Haible [Tue, 28 Nov 2006 14:19:24 +0000 (14:19 +0000)]
Remove unused file ptrdiff_max.m4.

17 years agoUse AC_COMPUTE_INT instead of _AC_COMPUTE_INT.
Bruno Haible [Tue, 28 Nov 2006 14:17:20 +0000 (14:17 +0000)]
Use AC_COMPUTE_INT instead of _AC_COMPUTE_INT.

17 years agos/^ {8}/\t/
Jim Meyering [Tue, 28 Nov 2006 09:23:23 +0000 (09:23 +0000)]
s/^ {8}/\t/

17 years ago* lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
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.

17 years ago* m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
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>

17 years ago* lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.
Paul Eggert [Mon, 27 Nov 2006 19:41:42 +0000 (19:41 +0000)]
* lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.

17 years agoInitialize also noinst_LTLIBRARIES.
Bruno Haible [Mon, 27 Nov 2006 14:22:11 +0000 (14:22 +0000)]
Initialize also noinst_LTLIBRARIES.

17 years agoAvoid using variable size arrays if gcc does not allow them.
Bruno Haible [Mon, 27 Nov 2006 14:17:38 +0000 (14:17 +0000)]
Avoid using variable size arrays if gcc does not allow them.

17 years agoFix some incompatibilities with gcc -ansi -pedantic.
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.

17 years agomake "date User Name <email@addr.dom>" lines more consistent
Jim Meyering [Sat, 25 Nov 2006 19:35:24 +0000 (19:35 +0000)]
make "date  User Name  <email@addr.dom>" lines more consistent

17 years ago* m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
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.

17 years ago* lib/sincosl.c (kernel_sinl): Fix typo in threshold.
Bruno Haible [Thu, 23 Nov 2006 20:18:34 +0000 (20:18 +0000)]
* lib/sincosl.c (kernel_sinl): Fix typo in threshold.

17 years ago* build-aux/announce-gen: New file. From coreutils.
Jim Meyering [Thu, 23 Nov 2006 15:22:51 +0000 (15:22 +0000)]
* build-aux/announce-gen: New file.  From coreutils.

17 years agoWork around a compile-time error from the HP-UX 11.00 /bin/cc.
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.

17 years ago* m4/clock_time.m4 (gl_CLOCK_TIME): Quote AC_SUBST argument.
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.

17 years agoFix bug that caused AM_GNU_GETTEXT([external], [need-formatstring-macros])
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.

17 years ago* lib/fts.c (fts_safe_changedir): Move a declaration "up",
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.

17 years ago.
Karl Berry [Tue, 21 Nov 2006 09:04:15 +0000 (09:04 +0000)]
.

17 years agoThe beginnings of syntax-related checks for gnulib.
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.

17 years ago* MODULES.html.sh (File system functions): Add openat.
Paul Eggert [Mon, 20 Nov 2006 22:07:27 +0000 (22:07 +0000)]
* MODULES.html.sh (File system functions): Add openat.

17 years ago* lib/openat.h (rpl_fstatat): New macro, if
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.

17 years agoBeginnings of a Makefile for the gnulib maintainers.
Bruno Haible [Mon, 20 Nov 2006 18:13:41 +0000 (18:13 +0000)]
Beginnings of a Makefile for the gnulib maintainers.

17 years ago* lib/idcache.c: Adjust comments in user- and group- portions to
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.

17 years agoAvoid syntax error in test program.
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 "[[...]]".

17 years ago* lib/idcache.c: Restore most of the 2006-11-06 patch, so as to
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.

17 years ago* lib/idcache.c (getuser): Remove all uses of the register keyword.
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.

17 years agoUse cleaner syntax: NULL rather than 0.
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.

17 years ago* lib/idcache.c: Undo most recent patch, dated 2006-11-06.
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.

17 years ago.
Karl Berry [Sun, 19 Nov 2006 09:04:21 +0000 (09:04 +0000)]
.

17 years ago* check-module (%exempt_header): Add exception for some
Jim Meyering [Sat, 18 Nov 2006 11:16:55 +0000 (11:16 +0000)]
* check-module (%exempt_header): Add exception for some
conditionally-included headers.

17 years ago* modules/i-ring (Depends-on): Add verify.
Jim Meyering [Sat, 18 Nov 2006 11:14:13 +0000 (11:14 +0000)]
* modules/i-ring (Depends-on): Add verify.
(License): Change to LGPL.

17 years agoRevert Jim's 2006-10-23 patch.
Simon Josefsson [Fri, 17 Nov 2006 13:47:43 +0000 (13:47 +0000)]
Revert Jim's 2006-10-23 patch.

17 years ago* modules/inline (License): Change from GPL to LGPL.
Paul Eggert [Fri, 17 Nov 2006 08:02:24 +0000 (08:02 +0000)]
* modules/inline (License): Change from GPL to LGPL.

17 years ago* modules/d-type (License): Switch to LGPL.
Jim Meyering [Thu, 16 Nov 2006 23:41:22 +0000 (23:41 +0000)]
* modules/d-type (License): Switch to LGPL.

17 years agoautoupdate
Karl Berry [Thu, 16 Nov 2006 14:22:26 +0000 (14:22 +0000)]
autoupdate

17 years agoFix alloca.m4 message.
Bruno Haible [Wed, 15 Nov 2006 20:54:48 +0000 (20:54 +0000)]
Fix alloca.m4 message.

17 years agoNo need to invoke gl_FUNC_ALLOCA more than once. But using AC_REQUIRE would
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@.

17 years agoAdd license compatibility check in --create-testdir.
Bruno Haible [Wed, 15 Nov 2006 20:47:08 +0000 (20:47 +0000)]
Add license compatibility check in --create-testdir.

17 years ago* m4/alloca.m4 (gl_FUNC_ALLOCA): Use AC_CACHE_CHECK to avoid a
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.

17 years agoReindent for consistency.
Paul Eggert [Tue, 14 Nov 2006 22:27:06 +0000 (22:27 +0000)]
Reindent for consistency.

17 years ago* m4/inttypes.m4 (gl_INTTYPES_H): Use AC_CACHE_CHECK so that the
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.

17 years ago* MODULES.html.sh (seen_modules, seen_files): New variables.
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.

17 years ago* tests/test-gc.c (main): Remove unused variables.
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'.

17 years ago* modules/inttostr (License): Change to LGPL.
Paul Eggert [Tue, 14 Nov 2006 17:52:58 +0000 (17:52 +0000)]
* modules/inttostr (License): Change to LGPL.

17 years ago* modules/tempname (License): Change to LGPL.
Eric Blake [Tue, 14 Nov 2006 14:12:03 +0000 (14:12 +0000)]
* modules/tempname (License): Change to LGPL.

17 years ago* doc/functions.texi (Function Portability): *printf functions on
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.

17 years agoRelicense under LGPL.
Bruno Haible [Tue, 14 Nov 2006 11:07:51 +0000 (11:07 +0000)]
Relicense under LGPL.

17 years agoMore support for GNOME libraries.
Bruno Haible [Tue, 14 Nov 2006 10:30:06 +0000 (10:30 +0000)]
More support for GNOME libraries.

17 years agoSupport for library names with dots.
Bruno Haible [Tue, 14 Nov 2006 10:22:12 +0000 (10:22 +0000)]
Support for library names with dots.

17 years ago.
Karl Berry [Tue, 14 Nov 2006 09:44:46 +0000 (09:44 +0000)]
.

17 years agoFix --create-testdir --with-tests.
Bruno Haible [Tue, 14 Nov 2006 09:37:20 +0000 (09:37 +0000)]
Fix --create-testdir --with-tests.

17 years agoOverride also AC_LIBSOURCES. Works around an automake error
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.

17 years ago* lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the
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.

17 years agoReplace build-aux/ also in the Makefile snippet.
Bruno Haible [Mon, 13 Nov 2006 12:35:41 +0000 (12:35 +0000)]
Replace build-aux/ also in the Makefile snippet.

17 years agoNew option --local-symlink.
Bruno Haible [Mon, 13 Nov 2006 12:35:01 +0000 (12:35 +0000)]
New option --local-symlink.

17 years agoFix the symlinks installed by the --symlink option.
Bruno Haible [Mon, 13 Nov 2006 12:34:33 +0000 (12:34 +0000)]
Fix the symlinks installed by the --symlink option.

17 years agoFinish support for source files in subdirectories.
Bruno Haible [Mon, 13 Nov 2006 12:33:43 +0000 (12:33 +0000)]
Finish support for source files in subdirectories.

17 years agoSynthesize also an EXTRA_lib_SOURCES augmentation.
Bruno Haible [Mon, 13 Nov 2006 12:33:07 +0000 (12:33 +0000)]
Synthesize also an EXTRA_lib_SOURCES augmentation.

17 years agoMake fts (in FTS_CWDFD mode) more efficient by caching a few open
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.

17 years ago* gnulib-tool (func_create_testdir): Fix replacement of
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.

17 years agoSync from Automake.
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.

17 years ago.
Karl Berry [Sat, 11 Nov 2006 09:05:23 +0000 (09:05 +0000)]
.

17 years ago* lib/fts.c [FTS_DEBUG]: Don't try to print a pointer via %s.
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.

17 years agoAvoid unused variable warnings with gcc.
Bruno Haible [Fri, 10 Nov 2006 14:49:09 +0000 (14:49 +0000)]
Avoid unused variable warnings with gcc.

17 years agoUse a command that uses $CC $CFLAGS, not $CPP, to test whether inline is
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.

17 years ago* modules/inline: New file/module.
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.

17 years ago* lib/stdint_.h (uintmax_t): Fix typo: int64_t -> uint64_t.
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.

17 years ago* lib/tempname.c (gen_tempname): Remove variant that invokes
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.

17 years agoupdate from texinfo
Karl Berry [Thu, 9 Nov 2006 01:23:33 +0000 (01:23 +0000)]
update from texinfo

17 years ago* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Set ac_cv_type_long_long_int
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'.

17 years ago* lib/quotearg.h (quotearg_free): New decl.
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.

17 years agoSync from Automake.
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.

17 years agoautoupdate
Karl Berry [Wed, 8 Nov 2006 16:07:50 +0000 (16:07 +0000)]
autoupdate

17 years agoNotice when GCC doesn't do inlining.
Bruno Haible [Wed, 8 Nov 2006 14:03:04 +0000 (14:03 +0000)]
Notice when GCC doesn't do inlining.

17 years ago* lib/fts.c (fts_safe_changedir): Add a comment.
Jim Meyering [Wed, 8 Nov 2006 13:49:24 +0000 (13:49 +0000)]
* lib/fts.c (fts_safe_changedir): Add a comment.

17 years ago.
Karl Berry [Wed, 8 Nov 2006 09:05:19 +0000 (09:05 +0000)]
.

17 years ago* lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
Jim Meyering [Wed, 8 Nov 2006 07:42:26 +0000 (07:42 +0000)]
* lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
It's already included if !_LIBC.

17 years ago* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Paul Eggert [Wed, 8 Nov 2006 06:21:38 +0000 (06:21 +0000)]
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.

17 years ago* lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move
Paul Eggert [Wed, 8 Nov 2006 00:22:30 +0000 (00:22 +0000)]
* lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move
definitions up, to avoid colliding with change below.
(static_inline) [HAVE_INLINE]: New macro.
(xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
Provide extern decls when !HAVE_INLINE.  Do not define unless
static_inline is defined, either by us or by xmalloc.c.  Use
static_inline rather than static inline.
(XCALLOC): Optimize sizeof(T) = 1 case.
* lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro.

2006-11-07  Bruno Haible  <bruno@clisp.org>

* lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case.
* m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of
AC_C_INLINE.
* modules/xalloc (Files): Add m4/inline.m4.

17 years ago* README: Fix typo.
Ralf Wildenhues [Tue, 7 Nov 2006 19:51:40 +0000 (19:51 +0000)]
* README: Fix typo.
* doc/gnulib.texi (Miscellaneous Notes): Likewise, rename...
(Miscellanous Notes): ...from this.