Bruno Haible [Sat, 21 Feb 2009 11:13:28 +0000 (12:13 +0100)]
New module 'uninorm/decomposition-table'.
Bruno Haible [Sat, 21 Feb 2009 11:10:21 +0000 (12:10 +0100)]
Remove old, dead code in last commit.
Bruno Haible [Sat, 21 Feb 2009 11:07:00 +0000 (12:07 +0100)]
Emit decomposition and composition tables.
Bruno Haible [Sat, 21 Feb 2009 11:01:44 +0000 (12:01 +0100)]
New module 'uninorm/base'.
David Lutterkort [Sat, 21 Feb 2009 10:10:01 +0000 (11:10 +0100)]
Tests for module 'safe-alloc'.
David Lutterkort [Sat, 21 Feb 2009 10:08:37 +0000 (11:08 +0100)]
New module 'safe-alloc'.
Bruno Haible [Wed, 18 Feb 2009 21:55:48 +0000 (22:55 +0100)]
Fix link error on non-glibc systems.
Jim Meyering [Wed, 18 Feb 2009 07:37:24 +0000 (08:37 +0100)]
fts: avoid used-uninitialized error due to recent change
* lib/fts.c (fts_read): Guard uses of the new member,
parent->fts_n_dirs_remaining, since it's not relevant for
the parent of a directory specified on the command-line.
Bruno Haible [Tue, 17 Feb 2009 22:43:29 +0000 (23:43 +0100)]
Reformulate comment.
Jim Meyering [Mon, 16 Feb 2009 14:49:08 +0000 (15:49 +0100)]
fts: add #if guards so that the fts_lgpl module still builds
* lib/fts.c: Guard just-added hash-table-using parts with
Reported by Simon Josefsson.
Bruno Haible [Mon, 16 Feb 2009 02:16:08 +0000 (03:16 +0100)]
Tests for module 'array-mergesort'.
Bruno Haible [Mon, 16 Feb 2009 02:14:41 +0000 (03:14 +0100)]
New module 'array-mergesort'.
Bruno Haible [Sun, 15 Feb 2009 23:27:42 +0000 (00:27 +0100)]
Fix 2009-02-07 commit of format strings.
Albert Chin-A-Young [Sun, 15 Feb 2009 23:02:34 +0000 (00:02 +0100)]
Update comment about IBM C 9.0/10.1 bug.
Jim Meyering [Wed, 11 Feb 2009 20:32:01 +0000 (21:32 +0100)]
fts: arrange not to stat non-directories in more cases
This makes GNU find (when it doesn't need to stat each file)
*much* more efficient at traversing reiserfs file systems.
* lib/fts_.h (struct ftsent) [fts_n_dirs_remaining]: New member.
(struct FTS) [fts_leaf_optimization_works_ht]: Add member.
* lib/fts.c (fts_close): Free ->fts_leaf_optimization_works_ht.
(S_MAGIC_REISERFS, S_MAGIC_PROC): Define.
(leaf_optimization_applies): New function.
(LCO_hash, LCO_compare): New helper functions.
(link_count_optimize_ok): New function.
(fts_stat): Initialize new member (if dir).
(fts_read): Decrement parent's fts_n_dirs_remaining count if
we've just stat'ed a directory. Skip the stat call when possible.
Note this AFS-related exchange:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143111
and note find's pioctl call in find/fstype.c.
But that is necessary only if you want to enable the
optimization for AFS, and for now, I don't.
Jim Meyering [Wed, 11 Feb 2009 20:08:11 +0000 (21:08 +0100)]
fts: move a function definition "up" (no semantic change)
* lib/fts.c (dirent_inode_sort_may_be_useful): Move definition
"up" to precede upcoming use of a related function.
Jim Meyering [Wed, 11 Feb 2009 10:13:11 +0000 (11:13 +0100)]
fts: correct internal computation of nlinks (optimization-related)
* lib/fts.c (fts_build): ISSET(FTS_NOSTAT) has no bearing on
whether the current entry is a directory, so don't test it.
Bruno Haible [Wed, 11 Feb 2009 01:23:36 +0000 (02:23 +0100)]
Tests for module 'uniwbrk/ulc-wordbreaks'.
Bruno Haible [Wed, 11 Feb 2009 01:22:26 +0000 (02:22 +0100)]
Tests for module 'uniwbrk/u32-wordbreaks'.
Bruno Haible [Wed, 11 Feb 2009 01:21:51 +0000 (02:21 +0100)]
Tests for module 'uniwbrk/u16-wordbreaks'.
Bruno Haible [Wed, 11 Feb 2009 01:21:10 +0000 (02:21 +0100)]
Tests for module 'uniwbrk/u8-wordbreaks'.
Bruno Haible [Wed, 11 Feb 2009 01:19:30 +0000 (02:19 +0100)]
Add missing module dependencies.
Simon Josefsson [Tue, 10 Feb 2009 12:16:22 +0000 (13:16 +0100)]
sockets: Call AC_C_INLINE.
Bruno Haible [Tue, 10 Feb 2009 10:56:21 +0000 (11:56 +0100)]
Rename tables.[hc] to lbrktables.[hc].
Bruno Haible [Tue, 10 Feb 2009 10:55:04 +0000 (11:55 +0100)]
Rename tables.[hc] to lbrktables.[hc].
Karl Berry [Mon, 9 Feb 2009 17:07:52 +0000 (09:07 -0800)]
autoupdate
Simon Josefsson [Mon, 9 Feb 2009 13:54:23 +0000 (14:54 +0100)]
sockets: Add gl_fd_to_handle.
Bruno Haible [Mon, 9 Feb 2009 10:54:37 +0000 (11:54 +0100)]
Document the complications of bi-arch systems.
Bruno Haible [Mon, 9 Feb 2009 00:29:54 +0000 (01:29 +0100)]
Document the 'havelib' module.
Bruno Haible [Sun, 8 Feb 2009 23:27:43 +0000 (00:27 +0100)]
Fix wrong order of sections, compared to TOC.
Bruno Haible [Sun, 8 Feb 2009 20:26:24 +0000 (21:26 +0100)]
Tests for module 'unicase/totitle'.
Bruno Haible [Sun, 8 Feb 2009 20:25:42 +0000 (21:25 +0100)]
Tests for module 'unicase/tolower'.
Bruno Haible [Sun, 8 Feb 2009 20:24:51 +0000 (21:24 +0100)]
Tests for module 'unicase/toupper'.
Bruno Haible [Sun, 8 Feb 2009 20:23:21 +0000 (21:23 +0100)]
Automatically generated by gen-uni-tables for Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 20:22:11 +0000 (21:22 +0100)]
New module 'unicase/totitle'.
Bruno Haible [Sun, 8 Feb 2009 20:21:34 +0000 (21:21 +0100)]
New module 'unicase/tolower'.
Bruno Haible [Sun, 8 Feb 2009 20:20:59 +0000 (21:20 +0100)]
New module 'unicase/toupper'.
Bruno Haible [Sun, 8 Feb 2009 20:18:39 +0000 (21:18 +0100)]
Generate also simple case mapping tables.
Bruno Haible [Sun, 8 Feb 2009 20:12:36 +0000 (21:12 +0100)]
New module 'unicase/base'.
Bruno Haible [Sun, 8 Feb 2009 19:58:32 +0000 (20:58 +0100)]
New module 'uniwbrk/ulc-wordbreaks'.
Bruno Haible [Sun, 8 Feb 2009 19:57:50 +0000 (20:57 +0100)]
New module 'uniwbrk/u32-wordbreaks'.
Bruno Haible [Sun, 8 Feb 2009 19:57:22 +0000 (20:57 +0100)]
New module 'uniwbrk/u16-wordbreaks'.
Bruno Haible [Sun, 8 Feb 2009 19:56:37 +0000 (20:56 +0100)]
New module 'uniwbrk/u8-wordbreaks'.
Bruno Haible [Sun, 8 Feb 2009 19:54:44 +0000 (20:54 +0100)]
New module 'uniwbrk/table'.
Bruno Haible [Sun, 8 Feb 2009 19:52:49 +0000 (20:52 +0100)]
New module 'uniwbrk/wordbreak-property'.
Bruno Haible [Sun, 8 Feb 2009 19:52:14 +0000 (20:52 +0100)]
Automatically generated by gen-uni-tables.
Bruno Haible [Sun, 8 Feb 2009 19:51:46 +0000 (20:51 +0100)]
Generate table with word break data.
Bruno Haible [Sun, 8 Feb 2009 19:42:32 +0000 (20:42 +0100)]
New module 'uniwbrk/base'.
Bruno Haible [Sun, 8 Feb 2009 16:18:13 +0000 (17:18 +0100)]
Regenerated for Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 16:17:51 +0000 (17:17 +0100)]
Update for Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 15:13:39 +0000 (16:13 +0100)]
Regenerated for Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 15:13:18 +0000 (16:13 +0100)]
Update to Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 15:11:56 +0000 (16:11 +0100)]
Update to Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 15:11:07 +0000 (16:11 +0100)]
Regenerated for Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 15:10:11 +0000 (16:10 +0100)]
Update to Unicode 5.1.0.
Bruno Haible [Sun, 8 Feb 2009 02:02:06 +0000 (03:02 +0100)]
Merge gen-ctype and gen-lbrk into gen-uni-tables.
Bruno Haible [Sat, 7 Feb 2009 22:31:49 +0000 (23:31 +0100)]
New modules unistr/u{8,16,32}-strcoll.
Bruno Haible [Sat, 7 Feb 2009 22:28:40 +0000 (23:28 +0100)]
New module 'unistr/u32-strcoll'.
Bruno Haible [Sat, 7 Feb 2009 22:28:00 +0000 (23:28 +0100)]
New module 'unistr/u16-strcoll'.
Bruno Haible [Sat, 7 Feb 2009 22:27:20 +0000 (23:27 +0100)]
New module 'unistr/u8-strcoll'.
Bruno Haible [Sat, 7 Feb 2009 21:29:08 +0000 (22:29 +0100)]
Fix fallback value of LOCALE_ZH_CN.
Bruno Haible [Sat, 7 Feb 2009 17:42:56 +0000 (18:42 +0100)]
Make 64-bit clean.
Karl Berry [Sat, 7 Feb 2009 16:32:59 +0000 (08:32 -0800)]
autoupdate
Bruno Haible [Sat, 7 Feb 2009 10:39:09 +0000 (11:39 +0100)]
Improve doc of dirfd module.
Jim Meyering [Thu, 5 Feb 2009 18:57:35 +0000 (19:57 +0100)]
regex: avoid compilation failure with upcoming gcc-4.4
* lib/regex_internal.h: Revert
e48d8b47fb3eee81d341b71c3e006efe9e3433a7
[workaround for PGC prior to 6.1-2]. Otherwise, we'd get this:
"... error: integer overflow in preprocessor expression".
Ben Pfaff [Fri, 6 Feb 2009 06:11:57 +0000 (22:11 -0800)]
Fix link errors on Windows when close module is used.
* modules/close: Add $(LIB_CLOSE) to Link section.
* m4/close.m4 (gl_REPLACE_CLOSE): Substitute -lws2_32 into
$(LIB_CLOSE) on Windows.
Jim Meyering [Thu, 5 Feb 2009 10:02:05 +0000 (11:02 +0100)]
still avoid unused-parameter warnings, but do it cleanly
* lib/fsusage.c (UNUSED_PARAM): Remove definition.
(get_fs_usage): Cast to void instead.
* lib/mountlist.c (UNUSED_PARAM): Remove definition.
(dev_from_mount_options, read_file_system_list): Cast to void.
Prompted by Bruno Haible.
Jim Meyering [Wed, 4 Feb 2009 15:35:56 +0000 (16:35 +0100)]
fsusage.c: correct copyright year
* lib/fsusage.c: Reflect year in which the change is pushed into
the public repository, not the year in which it was locally committed.
Jim Meyering [Sun, 30 Nov 2008 16:10:29 +0000 (17:10 +0100)]
avoid misc. warnings
* lib/fsusage.c (UNUSED_PARAM): Define.
(get_fs_usage): Mark parameter "disk" as unused.
* lib/getugroups.c (getgrent): Use "void" in prototype.
* lib/mountlist.c: Mark unused parameters.
(read_file_system_list): Declare a local with "const".
* lib/nanosleep.c (getnow): Declare static.
* lib/strftime.c: Include strftime.h, for declaration of nstrftime.
Jim Meyering [Wed, 4 Feb 2009 14:53:51 +0000 (15:53 +0100)]
ChangeLog: add entry for today's dirfd change
Karl Berry [Wed, 4 Feb 2009 14:18:03 +0000 (06:18 -0800)]
autoupdate
Jim Meyering [Tue, 3 Feb 2009 06:47:07 +0000 (07:47 +0100)]
dirfd: set errno upon failure
* lib/dirfd.c: Include <errno.h>.
Set errno to ENOTSUP when returning -1.
* modules/dirfd (Depends-on): Add errno.
Suggested by John Kodis <kodis@comcast.net>.
Bruno Haible [Sun, 1 Feb 2009 21:11:23 +0000 (22:11 +0100)]
Fix use of integer types in memcmp.c.
Eric Blake [Wed, 28 Jan 2009 16:16:10 +0000 (09:16 -0700)]
fix more require-before-expand issues
* m4/pmccabe2html.m4 (gl_PMCCABE2HTML): Require, rather than
expand, AC_PROG_AWK.
* m4/gnulib-common.m4 (AC_PROG_MKDIR_P): Use AC_DEFUN_ONCE.
Signed-off-by: Eric Blake <ebb9@byu.net>
Karl Berry [Fri, 30 Jan 2009 14:17:28 +0000 (06:17 -0800)]
autoupdate
Eric Blake [Tue, 27 Jan 2009 17:00:51 +0000 (10:00 -0700)]
version-etc: use consistent URL formatting
* lib/version-etc.c (emit_bug_reporting_address, version_etc_va):
Improve formatting. Use fputs for string without %.
Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering [Wed, 28 Jan 2009 13:02:54 +0000 (14:02 +0100)]
00gnulib.m4: add m4 quotes in shell comment to avoid autoconf warning
* m4/00gnulib.m4 (AC_DEFUN_ONCE): Add quotes to avoid an
"underquoted definition of NAME" from autoconf-2.59.
Bruno Haible [Wed, 28 Jan 2009 10:02:18 +0000 (11:02 +0100)]
Add an index entry.
Jim Meyering [Wed, 28 Jan 2009 08:27:32 +0000 (09:27 +0100)]
useless-if-before-free: correction
It does *not* recognize "if (p != (void*)0) free(p);",
since the RHS in this example may not contain ")"
Jim Meyering [Wed, 28 Jan 2009 08:19:28 +0000 (09:19 +0100)]
useless-if-before-free: recognize more variants
* build-aux/useless-if-before-free: Also recognize e.g.,
if (NULL != p) free (p);
Mark McLoughlin [Tue, 27 Jan 2009 18:06:31 +0000 (19:06 +0100)]
test-getaddrinfo: skip (don't fail) this test when there's no network
* tests/test-getaddrinfo.c: Skip test upon failure with EAI_AGAIN,
on the presumption that it means you lack network access.
Karl Berry [Tue, 27 Jan 2009 14:58:49 +0000 (06:58 -0800)]
autoupdate
Jim Meyering [Mon, 26 Jan 2009 17:32:23 +0000 (18:32 +0100)]
fflush: avoid warnings on modern systems
* lib/fflush.c (rpl_fflush): Move declarations of locals,
pos and result, into scopes where they're used.
Eric Blake [Mon, 26 Jan 2009 16:24:23 +0000 (09:24 -0700)]
Silence warning reintroduced by recent extensions patch.
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS)
(gl_USE_SYSTEM_EXTENSIONS): Use AC_DEFUN_ONCE to silence newer
autoconf.
Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake [Mon, 26 Jan 2009 16:08:48 +0000 (09:08 -0700)]
Backport improved autoconf semantics of AC_DEFUN_ONCE.
* m4/00gnulib.m4: New file.
* gnulib-tool (func_get_filelist): Always use it.
* m4/gnulib-common.m4 (gl_COMMON): Force the file to be used.
Reported by Bruno Haible, with suggestions from Paolo Bonzini.
Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible [Mon, 26 Jan 2009 02:22:46 +0000 (03:22 +0100)]
Make test-quotearg work on MacOS X and AIX.
Bruno Haible [Mon, 26 Jan 2009 02:09:26 +0000 (03:09 +0100)]
Use non-UTF-8 locales on MacOS X.
Bruno Haible [Mon, 26 Jan 2009 02:03:21 +0000 (03:03 +0100)]
Avoid link errors on MacOS X 10.3 / PowerPC.
Bruno Haible [Sun, 25 Jan 2009 23:12:36 +0000 (00:12 +0100)]
Use the posix_spawn or its replacement on all Unix platforms.
Bruno Haible [Sun, 25 Jan 2009 22:45:07 +0000 (23:45 +0100)]
Avoid a compilation warning.
Bruno Haible [Sun, 25 Jan 2009 22:31:44 +0000 (23:31 +0100)]
Avoid warning from OSF/1 C compiler.
Bruno Haible [Sun, 25 Jan 2009 21:39:28 +0000 (22:39 +0100)]
Add support for the GB18030 encoding.
Bruno Haible [Sun, 25 Jan 2009 20:47:34 +0000 (21:47 +0100)]
Avoid redefining 'struct random_data' on OSF/1 5.1.
Bruno Haible [Sun, 25 Jan 2009 19:16:06 +0000 (20:16 +0100)]
Don't install charset.alias on MacOS X >= 10.3.
Bruno Haible [Sun, 25 Jan 2009 17:15:44 +0000 (18:15 +0100)]
Don't install charset.alias on mingw and Cygwin.
Bruno Haible [Sun, 25 Jan 2009 12:17:21 +0000 (13:17 +0100)]
Make it possible again to use AC_GNU_SOURCE together with gnulib.
Jim Meyering [Sun, 25 Jan 2009 09:50:00 +0000 (10:50 +0100)]
c-strtod: avoid warnings
* lib/c-strtod.c (C_STRTOD): Cast nptr to (char *) to avoid
"assignment discards qualifiers from pointer target type" warnings.
Bruno Haible [Sat, 24 Jan 2009 23:51:34 +0000 (00:51 +0100)]
Add support for non-UTF-8 locales on MacOS X.
Bruno Haible [Sat, 24 Jan 2009 15:44:34 +0000 (16:44 +0100)]
Document the meaning of obsolete modules.
Bruno Haible [Sat, 24 Jan 2009 15:17:41 +0000 (16:17 +0100)]
Add hint regarding "TeX capacity exceeded" error.