Paul Eggert [Thu, 26 Oct 2006 16:20:28 +0000 (16:20 +0000)]
* COPYING: Explain how gnulib-tool converts licence headers.
Almost all wording by Eric Blake.
Bruno Haible [Thu, 26 Oct 2006 11:56:02 +0000 (11:56 +0000)]
Make read-only array really read-only. Saves a few bytes in the .data segment.
Bruno Haible [Thu, 26 Oct 2006 11:36:41 +0000 (11:36 +0000)]
Avoid a gcc warning.
Bruno Haible [Wed, 25 Oct 2006 18:56:19 +0000 (18:56 +0000)]
One more modif.
Bruno Haible [Wed, 25 Oct 2006 17:00:04 +0000 (17:00 +0000)]
Remove incorrect comment.
Bruno Haible [Wed, 25 Oct 2006 16:56:37 +0000 (16:56 +0000)]
Only g++ supports variable-size arrays nowadays.
Bruno Haible [Wed, 25 Oct 2006 16:14:34 +0000 (16:14 +0000)]
Avoid compilation errors with some C++ compilers.
Bruno Haible [Wed, 25 Oct 2006 11:42:18 +0000 (11:42 +0000)]
Treat all non-GNU iconv implementations like Irix iconv.
Karl Berry [Wed, 25 Oct 2006 07:38:30 +0000 (07:38 +0000)]
.
Paul Eggert [Tue, 24 Oct 2006 22:33:32 +0000 (22:33 +0000)]
Mention that vararrays.m4 is taken from diffutils.
Paul Eggert [Tue, 24 Oct 2006 22:32:25 +0000 (22:32 +0000)]
* modules/vararrays: New file.
* m4/vararrays.m4: New file.
* MODULES.html.sh: New module vararrays.
Karl Berry [Tue, 24 Oct 2006 22:24:52 +0000 (22:24 +0000)]
.
Ralf Wildenhues [Tue, 24 Oct 2006 20:44:09 +0000 (20:44 +0000)]
* users.txt: Add Libtool.
Ralf Wildenhues [Tue, 24 Oct 2006 20:40:29 +0000 (20:40 +0000)]
* lib/argz.c: Remove check for HAVE_CONFIG_H, to conform
to gnulib's policy of including config.h unconditionally.
Bruno Haible [Tue, 24 Oct 2006 20:19:49 +0000 (20:19 +0000)]
Fix compilation error on platforms without 'wint_t' type.
Karl Berry [Tue, 24 Oct 2006 20:10:22 +0000 (20:10 +0000)]
GNU/Unix -> GNU, Unix, and
Paul Eggert [Tue, 24 Oct 2006 19:54:55 +0000 (19:54 +0000)]
* lib/getdate.y (yyerror): Make the arguments pointer-to-const,
to pacify GCC with some -W flags enabled. Problem reported by
Bruno Haible.
Jim Meyering [Tue, 24 Oct 2006 18:18:19 +0000 (18:18 +0000)]
* MODULES.html.sh: Remove uinttostr. It's not a module.
Reported by Karl Berry.
Bruno Haible [Tue, 24 Oct 2006 13:31:50 +0000 (13:31 +0000)]
Pure ANSI C!
Bruno Haible [Tue, 24 Oct 2006 13:31:50 +0000 (13:31 +0000)]
(fts_build): Move variable declaration, for C89 compliance.
Bruno Haible [Tue, 24 Oct 2006 13:25:28 +0000 (13:25 +0000)]
Pure ANSI C!
Bruno Haible [Tue, 24 Oct 2006 12:12:49 +0000 (12:12 +0000)]
Add back the spaces that Karl removed.
Karl Berry [Mon, 23 Oct 2006 22:37:50 +0000 (22:37 +0000)]
--- instead of --; non-naive naive.
Eric Blake [Mon, 23 Oct 2006 22:31:11 +0000 (22:31 +0000)]
* lib/getaddrinfo.c (includes): Add missing include.
Bruno Haible [Mon, 23 Oct 2006 19:40:24 +0000 (19:40 +0000)]
Make it possible to rename obstack_free.
Bruno Haible [Mon, 23 Oct 2006 12:07:37 +0000 (12:07 +0000)]
Avoid clash with mingw's definition of __argc and __argv as macros.
Bruno Haible [Mon, 23 Oct 2006 11:27:37 +0000 (11:27 +0000)]
Add an introduction.
Bruno Haible [Mon, 23 Oct 2006 11:27:20 +0000 (11:27 +0000)]
Introduction to gnulib.
Bruno Haible [Mon, 23 Oct 2006 11:26:25 +0000 (11:26 +0000)]
Split the chapter "Gnulib" into 3 chapters "Introduction",
"Miscellanous Notes", "Particular Modules".
Bruno Haible [Mon, 23 Oct 2006 11:25:20 +0000 (11:25 +0000)]
Avoid syntax error from bash 2.00 ... 2.05.
Karl Berry [Mon, 23 Oct 2006 07:39:13 +0000 (07:39 +0000)]
.
Jim Meyering [Mon, 23 Oct 2006 06:03:01 +0000 (06:03 +0000)]
* lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr,
in place of snprintf.
* modules/inttostr (Files): Add lib/uinttostr.c.
* lib/uinttostr.c (inttostr): New file/function.
* lib/inttostr.h (uinttostr): Declare.
* m4/inttostr.m4: Add AC_LIBOBJ([uinttostr]).
* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
Add uinttostr.
* modules/getaddrinfo (Depends-on): Remove snprintf. Add inttostr.
Jim Meyering [Sun, 22 Oct 2006 08:21:10 +0000 (08:21 +0000)]
remove stray "b" before a date
Paul Eggert [Sun, 22 Oct 2006 07:32:17 +0000 (07:32 +0000)]
* lib/canonicalize.c (ELOOP): Define if not already defined.
Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00282.html>.
Paul Eggert [Sat, 21 Oct 2006 22:10:06 +0000 (22:10 +0000)]
b2006-10-21 Paul Eggert <eggert@cs.ucla.edu>
* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
Problem reported by Perry Smith and Ville Laurikari.
Paul Eggert [Sat, 21 Oct 2006 21:56:08 +0000 (21:56 +0000)]
* lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c
uses.
Bruno Haible [Fri, 20 Oct 2006 19:59:49 +0000 (19:59 +0000)]
Make getndelim2 compile on mingw.
Jim Meyering [Fri, 20 Oct 2006 19:38:02 +0000 (19:38 +0000)]
* lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition.
Needed for mingw.
Bruno Haible [Fri, 20 Oct 2006 13:51:48 +0000 (13:51 +0000)]
Cache a result.
Bruno Haible [Fri, 20 Oct 2006 13:50:26 +0000 (13:50 +0000)]
Cache a result.
Bruno Haible [Fri, 20 Oct 2006 13:50:26 +0000 (13:50 +0000)]
Cache a result.
Bruno Haible [Fri, 20 Oct 2006 13:42:39 +0000 (13:42 +0000)]
Don't include ftruncate and mountlist by default.
Bruno Haible [Fri, 20 Oct 2006 12:45:19 +0000 (12:45 +0000)]
Include the specification header.
Karl Berry [Fri, 20 Oct 2006 07:39:41 +0000 (07:39 +0000)]
.
Bruno Haible [Thu, 19 Oct 2006 13:24:55 +0000 (13:24 +0000)]
Fix from Charles Wilson.
Bruno Haible [Thu, 19 Oct 2006 12:27:16 +0000 (12:27 +0000)]
Make it usable by a C++ compiler.
Bruno Haible [Thu, 19 Oct 2006 12:23:41 +0000 (12:23 +0000)]
Remove duplicates from the gl_LIBOBJS list.
Bruno Haible [Thu, 19 Oct 2006 12:22:46 +0000 (12:22 +0000)]
Avoid a gcc warning.
Paul Eggert [Thu, 19 Oct 2006 07:51:14 +0000 (07:51 +0000)]
* lib/xstrtol.h: Include gettext.h.
(_STRTOL_ERROR): Wrap English-language formats inside gettext.
Problem reported by Eric Blake.
* modules/xstrtol (Depends-on): Add gettext-h.
Paul Eggert [Thu, 19 Oct 2006 07:33:29 +0000 (07:33 +0000)]
Give credit for patch.
Paul Eggert [Thu, 19 Oct 2006 07:32:18 +0000 (07:32 +0000)]
* lib/strftime.c (advance): New macro.
(add): Use it to avoid adding 0 to a FILE *. FILE can be
an incomplete type, so you can't add 0 to it. Problem reported
by Eelco Dolstra for dietlibc.
Jim Meyering [Wed, 18 Oct 2006 17:51:57 +0000 (17:51 +0000)]
* lib/readutmp.c (desirable_utmp_entry): Use "bool" as the
type for a local, and rename it: s/up/user_proc/.
Sergey Poznyakoff [Wed, 18 Oct 2006 13:24:54 +0000 (13:24 +0000)]
Update
Sergey Poznyakoff [Wed, 18 Oct 2006 13:24:37 +0000 (13:24 +0000)]
(READ_UTMP_USER_PROCESS): New flag
Sergey Poznyakoff [Wed, 18 Oct 2006 13:24:19 +0000 (13:24 +0000)]
(desirable_utmp_entry): Implement new flag: READ_UTMP_USER_PROCESS.
Bruno Haible [Wed, 18 Oct 2006 12:03:51 +0000 (12:03 +0000)]
No need any more to check for setlocale - all systems have it.
Karl Berry [Wed, 18 Oct 2006 07:40:07 +0000 (07:40 +0000)]
.
Eric Blake [Tue, 17 Oct 2006 15:27:32 +0000 (15:27 +0000)]
* lib/sigprocmask.c (sigprocmask): Fix typo.
Eric Blake [Tue, 17 Oct 2006 14:54:07 +0000 (14:54 +0000)]
* m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Fix typo.
Eric Blake [Tue, 17 Oct 2006 13:01:43 +0000 (13:01 +0000)]
* modules/clean-temp (Makefile.am): Don't add to make output...
(configure.ac): ...instead define SIGNAL_SAFE_LIST inside
config.h.
Bruno Haible [Tue, 17 Oct 2006 12:50:48 +0000 (12:50 +0000)]
Introduce DEFAULT_TEXT_DOMAIN.
Bruno Haible [Tue, 17 Oct 2006 12:47:49 +0000 (12:47 +0000)]
Avoid a gcc warning.
Bruno Haible [Tue, 17 Oct 2006 12:45:34 +0000 (12:45 +0000)]
Remove 2003-10-23 hack.
Bruno Haible [Tue, 17 Oct 2006 12:43:12 +0000 (12:43 +0000)]
Use the system's sigset_t if present.
Eric Blake [Tue, 17 Oct 2006 12:16:04 +0000 (12:16 +0000)]
* lib/xvasprintf.c (includes): Assume config.h.
* lib/xasprintf.c (includes): Likewise.
Karl Berry [Tue, 17 Oct 2006 07:43:16 +0000 (07:43 +0000)]
.
Paul Eggert [Mon, 16 Oct 2006 23:43:11 +0000 (23:43 +0000)]
Remove unnecessary part of previous change.
Paul Eggert [Mon, 16 Oct 2006 23:39:20 +0000 (23:39 +0000)]
* lib/fsusage.c (PROPAGATE_ALL_ONES): Don't assume uintmax_t is
at least as wide as intmax_t.
Paul Eggert [Mon, 16 Oct 2006 21:05:39 +0000 (21:05 +0000)]
(Imported from Automake.)
* build-aux/gnupload: Update to version 1.1 of directive file.
Eric Blake [Mon, 16 Oct 2006 17:43:14 +0000 (17:43 +0000)]
* modules/configmake (Makefile.am): Add pkglibexecdir support, to
match Automake 1.10a.
Karl Berry [Mon, 16 Oct 2006 13:59:29 +0000 (13:59 +0000)]
autoupdate
Bruno Haible [Mon, 16 Oct 2006 11:55:35 +0000 (11:55 +0000)]
New module 'sigprocmask'.
Karl Berry [Sun, 15 Oct 2006 22:38:35 +0000 (22:38 +0000)]
(gnupload): get from automake cvs.
Paul Eggert [Sat, 14 Oct 2006 23:40:42 +0000 (23:40 +0000)]
Sync from Automake.
* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory. In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system. We hope this is rare in practice, but it's clearly worth
fixing. Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.
2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Sync from Automake.
* build-aux/depcomp (gcc3): Put dependency extraction flags before the
`-c' flag, so they appear at the same position as in %FASTDEP%
mode in depend2.am. Fixes build failure for FreeBSD's c89,
which ignores unknown options only after the first non-option.
Bug report against M4 by Nelson H. F. Beebe.
Karl Berry [Sat, 14 Oct 2006 14:00:41 +0000 (14:00 +0000)]
gif patents expired
Jim Meyering [Sat, 14 Oct 2006 06:32:48 +0000 (06:32 +0000)]
Fix a bug in yesterday's change.
* lib/fts.c (fts_open): When using FTS_XDEV|FTS_NOSTAT,
p->fts_statp->st_dev would be used uninitialized.
Ensures that we always call fts_stat on the very first entry.
Miklos Szeredi reported that find -xdev stopped working.
Bruno Haible [Fri, 13 Oct 2006 12:44:53 +0000 (12:44 +0000)]
Typo.
Bruno Haible [Fri, 13 Oct 2006 12:40:22 +0000 (12:40 +0000)]
gnulib-tool now synthesizes the EXTRA_DIST line.
Karl Berry [Fri, 13 Oct 2006 07:41:05 +0000 (07:41 +0000)]
.
Paul Eggert [Thu, 12 Oct 2006 21:48:01 +0000 (21:48 +0000)]
* modules/error (Makefile.am): Distribute files through
EXTRA_DIST, not lib_SOURCES.
Bruno Haible [Thu, 12 Oct 2006 20:46:15 +0000 (20:46 +0000)]
Typo.
Eric Blake [Thu, 12 Oct 2006 20:04:19 +0000 (20:04 +0000)]
* modules/error (Makefile.am): Distribute files in /lib.
* modules/obstack (Makefile.am): Likewise.
Bruno Haible [Thu, 12 Oct 2006 18:52:30 +0000 (18:52 +0000)]
Distribute all lib/* source files through EXTRA_DIST.
Jim Meyering [Thu, 12 Oct 2006 13:41:07 +0000 (13:41 +0000)]
remove trailing blank line
Jim Meyering [Thu, 12 Oct 2006 13:26:06 +0000 (13:26 +0000)]
* m4/getloadavg.m4: Revert the change below.
Jim Meyering [Thu, 12 Oct 2006 13:23:10 +0000 (13:23 +0000)]
* m4/getloadavg.m4 (gl_GETLOADAVG): Test for the existence of
lib/getloadavg.c using "ls -L", not "test -f". The latter would
fail with a symlink, which is what coreutils' ./bootstrap now
creates by default.
Jim Meyering [Thu, 12 Oct 2006 13:17:48 +0000 (13:17 +0000)]
s/^ {8}/\t/
Bruno Haible [Thu, 12 Oct 2006 12:55:07 +0000 (12:55 +0000)]
Last patch broke _MSC_VER case.
Bruno Haible [Thu, 12 Oct 2006 12:33:50 +0000 (12:33 +0000)]
Add support for multiple gnulib-tool invocations in the scope of a single
configure.ac file.
Bruno Haible [Thu, 12 Oct 2006 11:45:25 +0000 (11:45 +0000)]
Handle mismatch between latest gettext release and current gnulib.
Bruno Haible [Thu, 12 Oct 2006 11:43:46 +0000 (11:43 +0000)]
--create-testdir without module names now means to use nearly all modules.
Jim Meyering [Thu, 12 Oct 2006 10:36:51 +0000 (10:36 +0000)]
* lib/fts.c (fts_open): Use consistent indentation.
Jim Meyering [Thu, 12 Oct 2006 10:32:32 +0000 (10:32 +0000)]
Big performance improvement for fts-based tools that use FTS_NOSTAT.
Avoid spurious inode-mismatch problems on non-POSIX file systems.
Details: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/7416
* lib/fts_.h (FTS_DEFER_STAT): Define new flag.
(FTS_OPTIONMASK): Extend the mask to reflect this addition.
* lib/fts.c (DT_IS_KNOWN, DT_MUST_BE): Define.
(FTS_NO_STAT_REQUIRED, FTS_STAT_REQUIRED): Define.
(fts_set_stat_required): New function.
(fts_open): Defer the calls to fts_stat, if possible or requested.
Move the code that maps a command-line fts_info value FTS_DOT to FTS_D
into fts_stat itself.
(fts_read): Perform any required (deferred) fts_stat call.
(fts_build): Likewise, for the directory we're about to open and read.
In the readdir loop, carefully decide whether each entry will require
an eventual call to fts_stat, using dirent.d_type info if available.
(fts_stat): Move the test for whether to honor FTS_COMFOLLOW on
a command line argument into this function. Update all callers.
Map a return value of FTS_DOT to FTS_D for a command line argument.
* modules/fts (Depends-on): Add d-type. Alphabetize.
Thanks to Miklos Szeredi for his tenacity and for the initial
bug report about "find" failing on a FUSE-based file system.
Paul Eggert [Thu, 12 Oct 2006 08:01:18 +0000 (08:01 +0000)]
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Renamed from
gl_USE_SYSTEM_EXTENSIONS, to fix a coreutils bootstrap failure
reported by Jim Meyering. All uses of cache variables renamed
to match Autoconf's.
(gl_USE_SYSTEM_EXTENSIONS): New macro, which simply requires
the other one.
Paul Eggert [Thu, 12 Oct 2006 07:35:16 +0000 (07:35 +0000)]
* m4/rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH):
Fix misspelling in diagnostic.
Paul Eggert [Thu, 12 Oct 2006 06:43:01 +0000 (06:43 +0000)]
* lib/mkdir-p.c (HAVE_FCHMOD): Define to false if not already
defined. Problem reported by Matthew Woehlke.
Paul Eggert [Thu, 12 Oct 2006 06:17:55 +0000 (06:17 +0000)]
* lib/inttypes_.h (_LONG_LONG_FORMAT_PREFIX): New macro.
Add support for Tandem NonStop R series.
(_PRI64_PREFIX, _PRIu64_PREFIX, _SCN64_PREFIX, _SCNu64_PREFIX):
Use new macro.
Paul Eggert [Thu, 12 Oct 2006 05:36:20 +0000 (05:36 +0000)]
* lib/rename-dest-slash.c: Include stdbool.h but not string.h.
(has_trailing_slash): Omit size arg; all callers changed.
Omit 'inline', since it doesn't help performance and we'd
need to configure it.
Don't count //, ///, etc. as having a trailing slash.
As a side effect, this removes a C99ism reported by Matthew Woehlke.
(rpl_rename_dest_slash): On failure, use rename's errno rather
than (in some cases) an incorrect or junk errno.
Simplify code by removing need to compute length; this does
cause it to make two passes instead of one over the file name,
but it's worth it.
Paul Eggert [Wed, 11 Oct 2006 23:12:36 +0000 (23:12 +0000)]
* m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Undo previous
change, since Autoconf's version may no longer be appropriate now
that we are using CVS Autoconf's version. Add support for Tandem.
2006-10-11 Paul Eggert <eggert@cs.ucla.edu>
Bruno Haible [Wed, 11 Oct 2006 16:09:38 +0000 (16:09 +0000)]
Use HAVE_LONG_LONG_INT instead of HAVE_LONG_LONG.