X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=264945825fb6ebb0666c14410504c68b8bc401a7;hb=c8068b3df116650efbf0fbf2d790c706577ae972;hp=cb16e26d26782d28043c36effa68358027c07dd6;hpb=cbbec352566be60d2ede1ee43f6bc911e547d8b0;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index cb16e26d2..264945825 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2356 @@ +2010-07-31 Bruno Haible + + More tests for unistr/u8-strchr. + * tests/unistr/test-strchr.h (test_strchr): Renamed from main. Check + that the function does not read past the first occurrence of the byte + being searched. + * tests/unistr/test-u8-strchr.c (main): New function, with more tests. + * tests/unistr/test-u16-strchr.c (main): New function. + * tests/unistr/test-u32-strchr.c (main): New function. + +2010-07-31 Bruno Haible + + posix-modules: Ignore backup files of documentation files. + * posix-modules: grep only through files named *.texi. + +2010-07-31 Bruno Haible + + symlinkat: Fix documentation. + * doc/posix-functions/readlinkat.texi: Fix module name. + +2010-07-31 Bruno Haible + + fchownat: Replace also when chown has the trailing slash bug. + * m4/openat.m4 (gl_FUNC_FCHOWNAT): Move the test of REPLACE_CHOWN + outside the gl_FUNC_FCHOWNAT_DEREF_BUG invocation. Fixes regression + introduced on 2010-04-10. + Reported by Rainer Tammer. + +2010-07-31 Bruno Haible + + linkat: Work around AIX 7.1 bug. + * m4/linkat.m4 (gl_FUNC_LINKAT): Require AC_CANONICAL_HOST. Test + whether linkat handles trailing slash correctly. If not, replace linkat + and define LINKAT_TRAILING_SLASH_BUG. + * lib/linkat.c (rpl_linkat): If LINKAT_TRAILING_SLASH_BUG is defined, + check whether (fd1,file1) points to a directory if file1 or file2 ends + in a slash. Code taken from lib/link.c. + * doc/posix-functions/linkat.texi: Mention trailing slash bug. + Reported by Rainer Tammer. + +2010-07-31 Bruno Haible + + Correctly determine whether pow is available in libc on AIX 7 with xlc. + * m4/mathfunc.m4 (gl_MATHFUNC): Actually use the 'funcptr' variable. + This disables an xlc optimization that was causing wrong test results. + Reported by Rainer Tammer. + +2010-07-31 Bruno Haible + + iconv: Work around AIX 6.1..7.1 bug. + * doc/posix-functions/iconv.texi: Mention AIX 6.1, 7.1 bug. + * m4/iconv.m4 (AM_ICONV_LINK): Test against AIX 6.1, 7.1 bug. When + cross-compiling, guess no on all versions of AIX. + Reported by Rainer Tammer. + +2010-07-31 Bruno Haible + + readlink: Relax test a bit. + * tests/test-readlink.h (test_readlink): Allow different errno value + when readlink is called with a file name that ends in / and refers to + a file. + Suggested by Eric Blake. + Reported by Rainer Tammer. + +2010-07-31 Bruno Haible + + copysign: Does not require -lm on glibc systems. + * modules/copysign (configure.ac): Use gl_MATHFUNC, not + gl_COMMON_DOUBLE_MATHFUNC. + * m4/mathfunc.m4 (gl_COMMON_DOUBLE_MATHFUNC): Update comments. + +2010-07-31 Bruno Haible + + duplocale: Work around AIX 7.1 bug. + * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Let the test fail also when + duplocale(LC_GLOBAL_LOCALE) returns (locale_t)0. + * lib/duplocale.c (rpl_duplocale): Update comment. + * doc/posix-functions/duplocale.texi: Mention the AIX 7.1 bug. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + dirfd: Avoid link error on AIX 7.1. + * lib/dirent.in.h (dirfd): Use modern idiom with REPLACE_DIRFD. + * m4/dirfd.m4 (gl_FUNC_DIRFD): If the function is declared but does not + exist, set REPLACE_DIRFD. + * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize REPLACE_DIRFD. + * modules/dirent (Makefile.am): Substitute REPLACE_DIRFD. + * doc/posix-functions/dirfd.texi: Update. + Reported by Rainer Tammer. + +2010-07-30 Eric Blake + + strtod: next round of AIX fixes + * lib/strtod.c (strtod): Work around AIX bug of parsing p with no + exponent. + * tests/test-strtod.c (main): Enhance tests. + * doc/posix-functions/strtod.texi (strtod): Document next bug. + Reported by Rainer Tammer. + + futimens: fix configure check + * m4/futimens.m4 (gl_FUNC_FUTIMENS): Use correct logic. + Reported by Bruno Haible. + +2010-07-30 Bruno Haible + + getline: Update regarding AIX. + * doc/posix-functions/getline.texi: Mention bug on AIX 7.1. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + wcwidth: Drop replacement on AIX 7. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): When cross-compiling, guess yes on + AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler. + * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Don't cast an invalid address to + a 'char *'. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + unlink: Update regarding AIX. + * doc/posix-functions/unlink.texi: Mention bug on AIX 7.1. + * m4/unlink.m4 (gl_FUNC_UNLINK): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + symlink: Update regarding AIX. + * doc/posix-functions/symlink.texi: Mention bug on AIX 7.1. + * m4/symlink.m4 (gl_FUNC_SYMLINK): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + strndup: Update regarding AIX. + * m4/strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, guess yes on + AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + stat: Update regarding AIX. + * doc/posix-functions/stat.texi: Mention bug on AIX 7.1. + * m4/stat.m4 (gl_FUNC_STAT): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + truncl: Fix autoconf test. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Add TRUNCL_LIBM to LIBS while testing + whether truncl works. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + round: Update regarding AIX. + * m4/round.m4 (gl_FUNC_ROUND): When cross-compiling, guess no on AIX 7. + * doc/posix-functions/round.texi: Mention bug on AIX 7.1. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + rename: Update regarding AIX. + * doc/posix-functions/rename.texi: Mention bug on AIX 7.1. + * m4/rename.m4 (gl_FUNC_RENAME): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + printf.m4: Update regarding AIX. + * m4/printf.m4: Update comments regarding AIX. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + iconv: Update regarding AIX. + * m4/iconv.m4 (AM_ICONV_LINK): When cross-compiling, guess yes on + AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + getopt: Update regarding AIX. + * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): When cross-compiling, guess + no on AIX. + * doc/posix-functions/getopt.texi: Mention that AIX has the optind bug. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + ldexpl; Update regarding AIX. + * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): When cross-compiling, guess yes + on AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + frexpl: Update regarding AIX. + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): When cross-compiling, guess yes + on AIX 7. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + open, fopen: Update regarding AIX. + * m4/open.m4 (gl_FUNC_OPEN): Adjust cross-compiling guess for AIX. + * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise. + * doc/posix-functions/open.texi: Mention the trailing-slash bug on AIX. + * doc/posix-functions/fopen.texi: Likewise. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + chown: Update doc regarding AIX. + * doc/posix-functions/chown.texi: Mention bug on AIX 7.1. + * m4/chown.m4 (gl_FUNC_CHOWN): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Eric Blake + + strtod: fix bug in replacement function on AIX + * lib/strtod.c (strtod): Special case broken "0x" parse in + underlying strtod. + * tests/test-strtod.c (main): Document AIX 7.1 bugs. + * doc/posix-functions/strtod.texi (strtod): Likewise. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + + mbrlen: Fix cross-compilation guess for AIX. + * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE): Fix cross-compilation + guess. Leftover from 2008-12-22. + +2010-07-30 Bruno Haible + + mbrtowc: Fix cross-compilation guess for AIX. + * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Fix cross-compilation + guess. Leftover from 2008-12-21. + +2010-07-29 Peter O'Gorman (tiny change) + + init.sh: work around trap limitation of some shells + * tests/init.sh (setup_): Move exit trap outside of shell function. + +2010-07-29 Eric Blake + + strtod: aid debugging + * m4/strtod.m4(gl_FUNC_STRTOD): Use distinct exit status to aid + understanding why strtod is rejected. + +2010-07-28 Bruno Haible + + unistr/u*-chr, unistr/u*-strchr: Fix link errors and warnings. + * lib/unistr/u8-chr.c: Include . + * tests/unistr/test-u8-chr.c: Likewise. + * tests/unistr/test-u16-chr.c: Likewise. + * tests/unistr/test-u32-chr.c: Likewise. + * tests/unistr/test-u8-strchr.c: Likewise. + * tests/unistr/test-u16-strchr.c: Likewise. + * tests/unistr/test-u32-strchr.c: Likewise. + * modules/unistr/u8-chr-tests (Depends-on): Add unistr/u32-set. + * modules/unistr/u16-chr-tests (Depends-on): Likewise. + * modules/unistr/u8-strchr-tests (Depends-on): Likewise. + * modules/unistr/u16-strchr-tests (Depends-on): Likewise. + +2010-07-28 Bruno Haible + + Use spaces for indentation, not tabs. + * lib/**/*.[hcy] except lib/reg*.[hc]: Untabify. + +2010-07-27 Bruno Haible + + mbspcasecmp: Fix function specification. + * lib/string.in.h (mbspcasecmp): Fix specification comment. + * lib/mbspcasecmp.c (mbspcasecmp): Likewise. + Reported by Eric Blake . + +2010-07-26 Paul R. Eggert + + timespec: use cast and not conditional, as truncation isn't possible + * lib/timespec.h (timespec_cmp): Use cast to pacify gcc -Wconversion + instead of a conditional. Comment about the situation in more detail. + This undoes most of the 2009-10-29 patch. + +2010-07-23 Paolo Bonzini + + unistr/u8-chr, unistr/u8-strchr: use Boyer-Moore like algorithm. + * lib/unistr/u8-chr.c: Add Boyer-Moore like operation. + * lib/unistr/u8-strchr.c: Likewise. + * modules/unistr/u8-chr: Depend on memchr. + + unistr/u*-strchr: add tests + * modules/unistr/u8-strchr-tests: New file. + * modules/unistr/u16-strchr-tests: New file. + * modules/unistr/u32-strchr-tests: New file. + * tests/unistr/test-strchr.h: New file. + * tests/unistr/test-u8-strchr.c: New file. + * tests/unistr/test-u16-strchr.c: New file. + * tests/unistr/test-u32-strchr.c: New file. + + unistr/u*-chr: test multibyte sequences more + * tests/unistr/test-chr.h: Do complete testing of the characters in the + test vector. + * tests/unistr/test-u8-chr.c (U_UCTOMB): Define. + * tests/unistr/test-u16-chr.c (U_UCTOMB): Likewise. + * tests/unistr/test-u32-chr.c (U_UCTOMB): Likewise. + + unistr/u*-chr: test multibyte sequences + * tests/unistr/test-chr.h: Put characters above 0-127 in the test input. + + unistr/u*-chr: prepare for multibyte tests + * modules/unistr/u8-chr-tests: Depend on u32-to-u8. + * modules/unistr/u16-chr-tests: Depend on u32-to-u16. + * tests/unistr/test-chr.h: Build initial version as UCS-4 then convert. + * tests/unistr/test-u8-chr.c (U32_TO_U): Define. + * tests/unistr/test-u16-chr.c (U32_TO_U): Likewise. + * tests/unistr/test-u32-chr.c (U32_TO_U): Likewise. + +2010-07-18 Bruno Haible + + unistr/u8-strchr: Optimize non-ASCII argument case. + * lib/unistr/u8-strchr.c (u8_strchr): Compare the last byte first, + because the first byte often matches anyway. + Reported by Pádraig Brady . + +2010-07-15 Karl Berry + + * config/srclist.txt (fdl.texi): only one copy, from gnustandards. + +2010-07-14 Paul R. Eggert + + getcwd: on Solaris, work better if ancestors are inaccessible + * lib/getcwd.c (__getcwd): If getcwd returns EINVAL for zero + buffer and size, try again with a large buffer. This works better + on Solaris, since its getcwd succeeds even if the path to the root + is inaccessible, and this is helpful in common cases such as .zfs + hidden directories. Problem reported by J Chapman Flack in + http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00000.html + Use system getcwd if it's declared, not merely if it's partly + working; use the partly-working test only to avoid needless effort + if the system getcwd fails. + * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Omit + comment that was already obsolete and is now even more obsolete. + * modules/getcwd (Depends-on): Depend on strdup, since __getcwd + now might call strdup. + +2010-07-13 Paul R. Eggert + + pthread: Add enough so that coreutils/src/sort.c compiles. + * lib/pthread.in.h: Add self to author comment. Conditionalize on + _GL_PTHREAD_H, not PTHREAD_H_, for consistency with the rest of + gnulib. Include and , as per POSIX. + Include , in case it defines pthread_t. + (pthread_t, pthread_attr_t, pthread_barrier_t, pthread_barrierattr_t): + (pthread_cond_t, pthread_condattr_t, pthread_key_t, pthread_mutex_t): + (pthread_mutexattr_t, pthread_once_t, pthread_rwlock_t): + (pthread_rwlockattr_t, pthread_spinlock_t): + New typedefs, if HAVE_PTHREAD_T is not defined. + (PTHREAD_COND_INITIALIZER, PTHREAD_MUTEX_INITIALIZER): + (PTHREAD_ONCE_INIT, PTHREAD_RWLOCK_INITIALIZER): + (PTHREAD_BARRIER_SERIAL_THREAD, PTHREAD_CANCEL_DEFERRED): + (PTHREAD_CANCEL_ASYNCHRONOUS, PTHREAD_CANCEL_ENABLE): + (PTHREAD_CANCEL_DISABLE, PTHREAD_CANCELED, PTHREAD_CREATE_JOINABLE): + (PTHREAD_CREATE_DETACHED, PTHREAD_INHERIT_SCHED): + (PTHREAD_EXPLICIT_SCHED, PTHREAD_MUTEX_DEFAULT, PTHREAD_MUTEX_NORMAL): + (PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE): + (PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_PRIO_NONE): + (PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT, PTHREAD_PROCESS_PRIVATE): + (PTHREAD_PROCESS_SHARED, PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS): + New macros. + (pthread_cond_destroy, pthread_cond_init, pthread_cond_signal): + (pthread_cond_wait, pthread_exit, pthread_mutex_destroy): + (pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock): + (pthread_spin_init, pthread_spin_lock, pthread_spin_trylock); + (pthread_spin_unlock): New dummy functions. + (pthread_create): Return EAGAIN; don't set errno. + * m4/pthread.m4 (gl_PTHREAD_CHECK): Check for pthread_t, and + require AC_C_INLINE. + * modules/pthread (Depends-on): Add sched, time. + (pthread.h): Use AM_V_GEN. + +2010-07-13 Bruno Haible + + striconveh: Don't malloc memory if the result buffer is sufficient. + * lib/striconveh.c (mem_cd_iconveh_internal): Use the provided result + buffer if its size is sufficient. + Reported by Ludovic Courtès . + +2010-07-13 Bruno Haible + + strtod: Add safety check. + * lib/strtod.c (ldexp): Abort if this dummy replacement gets called. + +2010-07-12 Bruno Haible + + Unify tests that set gl_cv_func_ldexpl_no_libm. + * m4/ldexpl.m4 (gl_CHECK_LDEXPL_NO_LIBM): New macro, extracted from + gl_FUNC_LDEXPL. + (gl_FUNC_LDEXPL): Invoke it. + * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise. + +2010-07-12 Bruno Haible + + Unify tests that set gl_cv_func_ldexp_no_libm. + * m4/ldexp.m4: New file, based on m4/mathfunc.m4. + * m4/strtod.m4 (gl_PREREQ_STRTOD): Require gl_CHECK_LDEXP_NO_LIBM. + * modules/ldexp (Files): Remove m4/mathfunc.m4. Add m4/ldexp.m4. + (configure.ac): Simply invoke gl_FUNC_LDEXP. + * modules/strtod (Files): Add m4/ldexp.m4. + +2010-07-12 Bruno Haible + + Unify tests that set gl_cv_func_frexpl_no_libm. + * m4/frexpl.m4 (gl_CHECK_FREXPL_NO_LIBM): New macro, extracted from + gl_FUNC_FREXPL_NO_LIBM. + (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): Invoke it. + * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Likewise. + +2010-07-12 Bruno Haible + + Unify tests that set gl_cv_func_frexp_no_libm. + * m4/frexp.m4 (gl_CHECK_FREXP_NO_LIBM): New macro, extracted from + gl_FUNC_FREXP_NO_LIBM. + (gl_FUNC_FREXP, gl_FUNC_FREXP_NO_LIBM): Require it. + * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Likewise. + +2010-07-12 Paul R. Eggert + + memcoll: clarify sizes versus lengths, document better, and tweak perf + * lib/memcoll.c (strcoll_loop, memcoll0): + Improve quality of descriptive comments. Name variables + consistently as to whether they are lengths (which do not include + terminating null) versus sizes (which do). + * lib/xmemcoll.c (xmemcoll0): Likewise. + * lib/memcoll.c (strcoll_loop): Tweak the way that the diff is + returned when s1size == 0; this is easier to compile and saves + about 17% of memcoll's code space on x86-64 with GCC 4.1.2. + +2010-07-12 Bruno Haible + + Tests for module '_Exit'. + * modules/_Exit-tests: New file. + * tests/test-_Exit.sh: New file. + * tests/test-_Exit.c: New file. + + New module '_Exit'. + * lib/stdlib.in.h (__attribute__): New macro. + (_Exit): New declaration. + * lib/_Exit.c: New file. + * m4/_Exit.m4: New file. + * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether _Exit is declared. + (gl_STDLIB_H_DEFAULTS): Initialize GNULIB__EXIT and HAVE__EXIT. + * modules/stdlib (Makefile.am): Substitute GNULIB__EXIT and HAVE__EXIT. + * modules/_Exit: New file. + * tests/test-stdlib-c++.cc (_Exit): Check signature. + * doc/posix-functions/_Exit_C99.texi: Mention the new module. + +2010-07-12 Paul R. Eggert + + strtod: make it more-accurate typically, and don't require libm + * lib/strtod.c (_GL_ARG_NONNULL): Remove; no longer needed. + Include limits.h. Don't include string.h. + (HAVE_LDEXP_IN_LIBC, HAVE_RAW_DECL_STRTOD): Define to 0 if not defined. + (locale_isspace): New function, so that no casts are needed to + check whether *s is a space. + (ldexp): Provide an unused dummy if not available. + (scale_radix_exp, parse_number, underlying_strtod): New functions. + (strtod): Use them. This implementation prefers to use the + underlying strtod if available, falling back on our own code + only to fix known bugs. This is more likely to produce an + accurate result. Also, it avoids the use of libm functions. + * m4/strtod.m4 (gl_FUNC_STRTOD): Don't invoke _AC_LIBOBJ_STRTOD; + no longer needed. Invoke AC_LIBOBJ([strtod]); don't know why this + was absent, but it caused a test failure with coreutils. + (gl_PREREQ_STRTOD): Check wither ldexp can be used without linking + with libm. + * modules/strtod (Makefile.am, Link): libm is no longer needed. + * modules/strtod-tests (Makefile.am): Likewise. + +2010-07-11 Pádraig Brady + Bruno Haible + + unistr/u8-strchr: Optimize ASCII argument case. + * lib/unistr/u8-strchr.c (u8_strchr): For ASCII arguments, use strchr. + +2010-07-08 Paul Eggert + + (x)memcoll: minor tweaks + * lib/memcoll.c (strcoll_loop): Prefer the style where 'const' + is after the type that it qualifies. + (memcoll0): Likewise. + * lib/memcoll.h (memcoll0): Likewise. + * lib/xmemcoll.c (collate_error, xmemcoll0): Likewise. + * lib/xmemcoll.h (xmemcoll0): Likewise. + * lib/memcoll.c (memcoll0): Correct the comment. This function + differs from memcoll in that the NUL byte is part of the argument. + Omit the abort-checks, as performance is a real issue here. Plus, + the checks were wrong anyway (an off-by-one error). Omit local + variable 'diff', as it's a bit clearer that way. + * m4/memcoll.m4 (gl_MEMCOLL): Omit AC_FUNC_STRCOLL, as it's + no longer needed. + +2010-07-08 Chen Guo + + (x)memcoll: speedup when input is known to be NUL delimited + * lib/memcoll.c: Include stdlib. + (memcoll0) New function. + (strcoll_loop) New function, refactored for use in both memcoll + and memcoll0. + * lib/memcoll.h: Add prototype for memcoll0. + * lib/xmemcoll.c: (xmemcoll0) New function. + (collate_error) New function, refactored for use in both xmemcoll + and xmemcoll0. + * lib/xmemcoll.h: Add prototype for xmemcoll0. + * m4/memcoll.m4: add inline invocation. + +2010-07-06 Pádraig Brady + + * build-aux/bootstrap: Remove any local translations + from the translation project synchronization directory, + so that local only translations are not distributed. + +2010-07-04 Bruno Haible + + fsusage: Clarify which code applies to which platforms. + * m4/fsusage.m4 (gl_FSUSAGE): Clarify which test succeeds on which + platform. + * lib/fsusage.c (get_fs_usage): Likewise. + +2010-07-04 Bruno Haible + + havelib: Fix bug when AC_LIB_FROMPACKAGE is used more than twice. + * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): Use m4_defn. + Reported by Martin Lambers . + +2010-07-04 Jim Meyering + + hash: once again explicitly disallow insertion of NULL + * lib/hash.c (hash_insert0): Reinstate just-removed test: + inserting a NULL pointer cannot work with these functions. + Add a comment with details. + This reverts part of the 2010-07-01 commit, 5bef1a35 + "hash: extend module to deal with non-pointer keys". + +2010-07-01 Bruno Haible + + stdbool: Update doc. + * doc/posix-headers/stdbool.texi: Mention OpenBSD bug. + Info from Christian Weisgerber . + +2010-07-01 Jim Meyering + + hash: extend module to deal with non-pointer keys + * lib/hash.c (hash_insert0): New interface, much like hash_insert + but that allows insertion of non-pointer entries. + Do not disallow an ENTRY value of NULL. + (hash_insert): This is now just a thin wrapper. Call hash_insert0. + * lib/hash.h (hash_insert0): Declare. + +2010-07-01 Christian Weisgerber (tiny change) + + gettext: Use AC_GNU_SOURCE as a fallback for AC_USE_SYSTEM_EXTENSIONS. + * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): When AC_USE_SYSTEM_EXTENSIONS is + not present (i.e. with autoconf 2.59 and when using gettextize, not + gnulib), require AC_GNU_SOURCE instead. + +2010-07-01 Ian Beckwith + + idpriv-drop: Fix tests. + * tests/test-idpriv-drop.su.sh: Refer to the test-idpriv-drop program, + not to the test-idpriv-droptemp program. + +2010-06-29 Bruno Haible + + string: Fix syntax error with g++ 2.96. + * lib/string.in.h (__pure__): Remove definition. + (_GL_ATTRIBUTE_PURE): New macro. + (memchr, memmem, memrchr, rawmemchr, strchrnul, strnlen, strpbrk, + strstr, strcasestr): Use it instead of __attribute__ ((__pure__)). + Reported by Christian Weisgerber . + +2010-06-28 Ian Beckwith + + unitypes: Fix bug introduced on 2010-05-18. + * modules/unitypes (Files): Really add m4/libunistring-base.m4. + +2010-06-22 Eric Blake + + memmem: slight optimization + * lib/str-two-way.h (critical_factorization): Update comments. + Reduce work during factorization phase. + Reported by Carlos Bueno . + +2010-06-21 Bruno Haible + + Fix HAVE_CALLOC_POSIX misnomer. + * lib/stdlib.in.h (calloc): Use REPLACE_CALLOC instead of + !HAVE_CALLOC_POSIX. + * m4/calloc.m4 (gl_REPLACE_CALLOC): Set REPLACE_CALLOC instead of + HAVE_CALLOC_POSIX. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_CALLOC + instead of HAVE_CALLOC_POSIX. + * modules/stdlib (Makefile.am): Substitute REPLACE_CALLOC instead of + HAVE_CALLOC_POSIX. + + Use modern idiom for calloc() replacement. + * modules/calloc (configure.ac): Invoke gl_FUNC_CALLOC_GNU instead of + AC_FUNC_CALLOC. + * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): Renamed from AC_FUNC_CALLOC. + Require gl_STDLIB_H_DEFAULTS. Invoke gl_REPLACE_CALLOC. + (gl_FUNC_CALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize + HAVE_CALLOC_POSIX. Invoke gl_REPLACE_CALLOC. + (gl_REPLACE_CALLOC): New macro. + +2010-06-21 Bruno Haible + + Fix HAVE_REALLOC_POSIX misnomer. + * lib/stdlib.in.h (realloc): Use REPLACE_REALLOC instead of + !HAVE_REALLOC_POSIX. + * m4/realloc.m4 (gl_REPLACE_REALLOC): Set REPLACE_REALLOC instead of + HAVE_REALLOC_POSIX. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_REALLOC + instead of HAVE_REALLOC_POSIX. + * modules/stdlib (Makefile.am): Substitute REPLACE_REALLOC instead of + HAVE_REALLOC_POSIX. + + Use modern idiom for realloc() replacement. + * modules/realloc (configure.ac): Invoke gl_FUNC_REALLOC_GNU instead of + AC_FUNC_REALLOC. + * m4/realloc.m4 (gl_FUNC_REALLOC_GNU): New macro, mostly copied from + Autoconf's AC_FUNC_REALLOC. + (gl_FUNC_REALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize + HAVE_REALLOC_POSIX. Invoke gl_REPLACE_REALLOC. + (gl_REPLACE_REALLOC): New macro. + Reported by Richard Lloyd . + +2010-06-21 Bruno Haible + + Fix HAVE_MALLOC_POSIX misnomer. + * lib/stdlib.in.h (malloc): Use REPLACE_MALLOC instead of + !HAVE_MALLOC_POSIX. + * m4/malloc.m4 (gl_REPLACE_MALLOC): Set REPLACE_MALLOC instead of + HAVE_MALLOC_POSIX. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_MALLOC + instead of HAVE_MALLOC_POSIX. + * modules/stdlib (Makefile.am): Substitute REPLACE_MALLOC instead of + HAVE_MALLOC_POSIX. + + Use modern idiom for malloc() replacement. + * modules/malloc (configure.ac): Invoke gl_FUNC_MALLOC_GNU instead of + AC_FUNC_MALLOC. + * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): New macro, mostly copied from + Autoconf's AC_FUNC_MALLOC. + (gl_FUNC_MALLOC_POSIX): Rely on gl_STDLIB_H_DEFAULTS to initialize + HAVE_MALLOC_POSIX. Invoke gl_REPLACE_MALLOC. + (gl_REPLACE_MALLOC): New macro. + Reported by Richard Lloyd . + +2010-06-20 Richard Lloyd + + stdio.in.h: fix compilation failure when using HP-UX 11's C compiler + * lib/stdio.in.h: Remove excess _GL_CXXALIAS_RPL macro argument. + This macro takes 3 arguments, not 4. + +2010-06-15 Giuseppe Scrivano + + ipv6: fix detection under mingw + * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Include for struct + in6_addr. + +2010-06-14 Ben Pfaff + + * m4/strtod.m4 (gl_FUNC_STRTOD): Factor out common code. Assume + that strtod() works when cross-compiling to a glibc version known + to work. + +2010-06-15 Bruno Haible + + * m4/strtod.m4 (gl_FUNC_STRTOD): Stop using AC_FUNC_STRTOD. + +2010-06-15 René Berber (tiny change) + + select: Correct timeout. + * lib/select.c (rpl_select): Compute wait_timeout correctly. + +2010-06-14 Thien-Thi Nguyen (tiny change) + + git-version-gen: init shell var to avoid env var influence + * build-aux/git-version-gen (v): Init shell var to empty. + +2010-06-14 Paul Eggert + + priv-set: Don't assume that priv.h exists merely because getppriv does. + See Jan Andersen's bug report about AIX 5L in + http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00019.html + * m4/priv-set.m4 (gl_PRIV_SET): Check for priv.h. + * lib/priv-set.c: Do nothing unless HAVE_PRIV_H. + * lib/priv-set.h: Likewise. + * tests/test-priv-set.c: Likewise. + +2010-06-13 Bruno Haible + + relocatable: Make it easier to test whether to install wrappers. + * m4/relocatable.m4 (gl_RELOCATABLE_BODY): New automake conditional + RELOCATABLE_VIA_WRAPPER. + +2010-06-13 Bruno Haible + + gnulib-tool: Display specified modules and dependencies differently. + * gnulib-tool (func_show_module_list): New function. + (func_import, func_create_testdir): Invoke it. + Reported by Thien-Thi Nguyen . + +2010-06-13 Bruno Haible + + gnulib-tool: Align code of func_import and func_create_testdir. + * gnulib-tool (func_create_testdir): Rename variable saved_modules to + specified_modules. + +2010-06-12 Jim Meyering + + test-inttostr: avoid spurious failure on Solaris 9 + * tests/test-inttostr.c (main): Skip the test when snprintf fails + to accept "%ju". Reported by Bruno Haible. + +2010-06-11 Jim Meyering + + test-sys_socket: mark variables as used more readably + * tests/test-sys_socket.c (main): Mark otherwise unused variables + as "used" explicitly via (void) statement casts. This is more + readable than using them in an artificial return expression. + Suggestion from Bruno Haible. + +2010-06-11 Bruno Haible + + Avoid some more warnings from "gcc -Wwrite-strings". + * tests/test-argp.c (test_optional): Change 5th and 6th argument type + to 'const char *'. + * tests/test-c-strstr.c (main): Add 'const' to variable declaration. + * tests/test-c-strcasestr.c (main): Likewise. + * tests/test-mbscasestr1.c (main): Likewise. + * tests/test-mbscasestr2.c (main): Likewise. + * tests/test-memmem.c (main): Likewise. + * tests/test-strstr.c (main): Likewise. + * tests/test-strcasestr.c (main): Likewise. + +2010-06-11 Ralf Wildenhues + + init.sh: change framework_failure_ to fail with status 99, not 1 + * tests/init.sh (framework_failure_): Exit 99, not 1. This informs + automake's parallel-tests rule that this is an unexpected failure, + even if the test is listed in XFAIL_TESTS. + +2010-06-11 Jim Meyering + + test-inttostr: avoid warnings about 4-6KB literal strings + * tests/test-inttostr.c: Don't use . Instead, ... + Include "macros.h", for its definition of ASSERT. + (CK): s/assert/ASSERT/ + * modules/inttostr-tests (Files): Add macros.h. + + init.sh: don't use $ME_ or skip_ before they are defined + * tests/init.sh: Hoist definitions of $ME_ and skip_ to precede + their first uses. Also hoist their companions: warn_, fail_, + framework_failure_, $stderr_fileno. Prompted by a patch from + Stefano Lattarini. + + test-sys_socket: avoid set-but-not-used warnings from gcc + * tests/test-sys_socket.c (main): Use "i" and "x", in order to + avoid warning about set-but-not-used variables. + + test-xvasprintf: avoid 'const' discard warnings + * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use + "const" when assigning from literal strings. + (test_xasprintf): Add "void" in function argument list to placate + -Wstrict-prototypes and to be consistent with test_xvasprintf above. + + tests: avoid compilation warnings in argmatch and exclude tests... + in packages that define ARGMATCH_DIE_DECL, like coreutils. + * tests/test-exclude.c [ARGMATCH_DIE_DECL]: Also declare the function. + Since it always exits, declare with the "noreturn" attribute. + * tests/test-argmatch.c: Likewise. + + tests: avoid 'const' discard warnings in mbsstr tests + * tests/test-mbsstr1.c (main): Add "const" to avoid trivial warning. + * tests/test-mbsstr2.c (main): Likewise. + + test-verify: avoid warning from gcc's -Wmissing-declarations + * tests/test-verify.c (function): Declare to be static. + + test-inttostr.c: include for use of strcmp + * tests/test-inttostr.c: Include for strcmp declaration. + + test-linkat: avoid failed assertion on "other" architectures + * tests/test-linkat.c: Include , for declarations of stat, + lstat, mkdir. Patch by John Rigby, to fix FTBFS on armel, powerpc, + sparc: https://bugs.launchpad.net/bugs/591968 + +2010-06-11 Jim Meyering + + printf.m4: avoid autoconf's "Expanded Before Required" warning + * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE, + rather than AC_DEFUN, to avoid the classic "Expanded Before Required" + autoconf warning. + +2010-06-10 Ben Pfaff + + Replacement header templates are now named with ".in", not "_". + * doc/gnulib-intro.texi: Correct. + +2010-06-10 Jim Meyering + + inttostr-tests: depend on snprintf, not snprintf-posix + * modules/inttostr-tests (Depends-on): Depend on snprintf, not + snprintf-posix, to avoid this aclocal failure: + missing file gnulib-tests/vasnprintf.c + configure.ac:45: error: expected source file, required through \ + AC_LIBSOURCES, not found + +2010-06-10 Jim Meyering + + inttostr: add a new function, inttostr, and tests + The namesake function was not available. The existence of the + template file, inttostr.c makes its addition nontrivial. + * lib/anytostr.c: Rename from inttostr.c. + (anytostr): Rename from inttostr. + * lib/inttostr.c: New file. + * modules/inttostr (Files): Add anytostr.c. + (Makefile.am): Set lib_SOURCES instead of ... + * m4/inttostr.m4: Remove uses of AC_LIBOBJ. + * lib/imaxtostr.c: Update use. s/inttostr/anytostr/ + * lib/offtostr.c: Likewise. + * lib/uinttostr.c: Likewise. + * lib/umaxtostr.c: Likewise. + * modules/inttostr-tests: New file. + * tests/test-inttostr.c: New file. Test these functions. + +2010-06-09 Ben Pfaff + Bruno Haible + + Add "Extending Gnulib" chapter to manual. + * doc/gnulib.texi (Writing Modules): Add cross-reference to new + chapter. + (Extending Gnulib): New chapter. + * doc/gnulib-intro.texi (Openness): Add cross-reference to new + chapter. + +2010-06-09 Bruno Haible + + Avoid relocwrapper link errors due to gnulib replacement functions. + * lib/areadlink.c: Use the system's malloc, realloc functions. + (areadlink): Set errno to ENOMEM explicitly. + * modules/areadlink (Depends-on): Remove malloc-posix. + Reported by Ben Pfaff . + +2010-06-09 Bruno Haible + + Avoid relocwrapper link errors due to gnulib replacement functions. + * lib/canonicalize-lgpl.c: Use the system's malloc function. + * lib/malloca.c: Likewise. + * lib/relocatable.c: Likewise. + * lib/progreloc.c: Use the system's malloc, sprintf functions. + * lib/relocwrapper.c: Use the system's fprintf, malloc functions. + * lib/setenv.c: Use the system's malloc, realloc functions. + * lib/strerror.c: Use the system's sprintf function. + Reported by Ben Pfaff . + +2010-06-04 Bruno Haible + + Prefer documented low-level autoconf macro names. + * m4/lib-link.m4: Use m4_translit instead of translit. + * m4/environ.m4: Likewise. + * m4/mathfunc.m4: Likewise. + * m4/onceonly.m4: Likewise. + * m4/stdint.m4: Likewise. + Suggested by Eric Blake. + +2010-06-04 Martin Lambers + Bruno Haible + + havelib: Allow library names with '+' characters. + * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS, + AC_LIB_FROMPACKAGE, AC_LIB_LINKFLAGS_BODY): Convert '+' in name to '_'. + +2010-06-09 Bruno Haible + + Module setenv does not depend on 'malloc-posix', 'realloc-posix'. + * lib/setenv.c (__add_to_environ): Set errno to ENOMEM when malloc or + realloc failed. + +2010-06-08 Peter Simons + + maint.mk: make the news-check rule more configurable + * top/maint.mk (news-check-lines-spec) New variable. + (news-check): Use "sed -n 1,10p" in place of "head". + +2010-06-07 Jim Meyering + + do-release-commit-and-tag: fix typo in --help + * build-aux/do-release-commit-and-tag (Usage): Fix typo in --help. + + regex: avoid new dead-code warning with gcc-4.6.0 + * lib/regex_internal.c (re_string_reconstruct): #if-0-out a dead + if-block containing a while-loop. It's been unused for at least + 5 years. + +2010-06-05 Bruno Haible + + * doc/posix-functions/strcoll.texi: Mention Solaris limitation. + Reported by River Tarnell via Eric Blake. + +2010-06-04 Bruno Haible + + Update to GNU gettext 0.18.1. + * modules/gettext (configure.ac): Require gettext infrastructure from + version 0.18.1. + +2010-06-03 Bruno Haible + + Don't use AC_LIBOBJ with file names in subdirectories. + * m4/libunistring-base.m4 (gl_LIBUNISTRING_MODULE): Renamed from + gl_LIBUNISTRING_LIBSOURCE. Take a module name as argument, not a file + name. Define an automake conditional. Don't invoke AC_LIBOBJ. + * m4/libunistring.m4 (gl_LIBUNISTRING): Update AC_BEFORE invocation. + * modules/uni*/* (configure.ac): Use gl_LIBUNISTRING_MODULE instead of + gl_LIBUNISTRING_LIBSOURCE. + (Makefile.am): Augment lib_SOURCES here, conditionally. + * NEWS: Drop requirement for Automake option 'subdir-objects'. + +2010-06-03 Bruno Haible + + Simplify gl_LIBUNISTRING_VERSION_CMP expansion. + * m4/libunistring-base.m4 (gl_LIBUNISTRING_VERSION_CMP): Ensure + expansion does not end with a newline. + (gl_LIBUNISTRING_LIBSOURCE, gl_LIBUNISTRING_LIBHEADER): Avoid + unnecessary newline. + +2010-06-03 Bruno Haible + + Reduce dependencies. + * tests/test-quotearg.h: New file, extracted from + tests/test-quotearg.c. + * tests/test-quotearg-simple.c: New file, extracted from + tests/test-quotearg.c. + * tests/test-quotearg.c: Don't include . + (struct result_strings, struct result_groups, LQ, RQ, LQ_ENC, RQ_ENC, + RQ_ESC, inputs, compare, use_quotearg_buffer, use_quotearg, + use_quote_double_quotes, use_quotearg_colon): Moved to + tests/test-quotearg.h. + (results_g, flag_results, custom_quotes, custom_results): Moved + to tests/test-quotearg-simple.c. + (main): Moved the part that does not depend on gettext to + tests/test-quotearg-simple.c. Return 77 if the test cannot be + performed. + * modules/quotearg-simple: New file. + * modules/quotearg-simple-tests: New file. + * modules/quotearg (Depends-on): Add quotearg-simple. + * modules/quotearg-tests (Status): Mark as gettext-dependent-test. + (Files): Add tests/test-quotearg.h. + Reported by Paolo Bonzini. + +2010-06-03 Bruno Haible + + Reduce dependencies. + * modules/acl (Depends-on): Add gettext-h. Remove gettext. + +2010-06-03 Bruno Haible + + time: Undefine more broken macros. + * lib/time.in.h: Undefine broken localtime_r and gmtime_r macros only + for pthread-win32. Undefine also asctime_r, ctime_r, rand_r, strtok_r. + Reported by Eric Blake. + +2010-06-03 Bruno Haible + + Choose among AC_DEFUN_ONCE, AC_DEFUN in a way that aclocal understands. + * m4/iconv.m4 (gl_iconv_AC_DEFUN): New macro. + (AM_ICONV): Define it through gl_iconv_AC_DEFUN. + * m4/libunistring.m4 (gl_libunistring_AC_DEFUN): New macro. + (gl_LIBUNISTRING): Define it through gl_libunistring_AC_DEFUN. + Reported by Ludovic Courtès . + +2010-06-02 Eric Blake + + time: work with mingw + pthreads-win32 library + * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Set new variable + if timespec is defined only in pthread.h. + * modules/time (Makefile.am): Substitute it. + * lib/time.in.h (!TIME_H_DEFINES_STRUCT_TIMESPEC): Include + , when needed. + (GNULIB_TIME_R): Undefine broken localtime_r and gmtime_r macros + from the library. + +2010-05-31 Bruno Haible + + Avoid expanding two macros in the wrong order. + * m4/libunistring-base.m4 (gl_LIBUNISTRING_LIB_PREPARE): Require + gl_LIBUNISTRING if it is defined. + * m4/libunistring.m4 (gl_LIBUNISTRING): Define using AC_DEFUN_ONCE for + autoconf >= 2.64. + Reported by Ludovic Courtès . + +2010-05-27 Jim Meyering + + maint.mk: also prohibit "#undef" of always-defined symbols + * top/maint.mk (def_sym_regex): Handle #undef as well as #define. + Allow more than one space before the symbol name. + (sc_prohibit_always-defined_macros): Use grep's -E, now that + the regexp uses alternation. + +2010-05-26 Eric Blake + + maint.mk: avoid echo -e + * top/maint.mk (gzip_rsyncable, _ignore_case, _sc_say_and_exit): + Convert all uses of echo -* to printf. + Reported by Matthias Bolte. + +2010-05-25 Bruno Haible + + Update to GNU gettext 0.18, part 2. + * build-aux/po/Makefile.in.in: Update to GNU gettext 0.18. + Reported by Martin von Gagern . + +2010-05-25 Ralf Wildenhues + + Add missing include in test-pwrite.c. + * tests/test-pwrite.c: Include string.h, for strcmp. + +2010-05-24 Bruno Haible + + * NEWS: Mention requirement for Automake option 'subdir-objects'. + +2010-05-24 Bruno Haible + + Don't use conversion with transliteration in u{8,16,32}_strcoll. + * lib/unistr/u-strcoll.h (FUNC): Use U_STRCONV_TO_ENCODING with + iconveh_error argument. + * lib/unistr/u8-strcoll.c: Define U_STRCONV_TO_ENCODING instead of + U_STRCONV_TO_LOCALE. + * lib/unistr/u16-strcoll.c: Likewise. + * lib/unistr/u32-strcoll.c: Likewise. + * modules/unistr/u8-strcoll (Depends-on): Add + uniconv/u8-strconv-to-enc, localcharset. Remove + uniconv/u8-strconv-to-locale. + (configure.ac): Bump version number. + * modules/unistr/u16-strcoll (Depends-on): Add + uniconv/u16-strconv-to-enc, localcharset. Remove + uniconv/u16-strconv-to-locale. + (configure.ac): Bump version number. + * modules/unistr/u32-strcoll (Depends-on): Add + uniconv/u32-strconv-to-enc, localcharset. Remove + uniconv/u32-strconv-to-locale. + (configure.ac): Bump version number. + +2010-05-24 Bruno Haible + + Avoid a test failure on NetBSD 5.0. + * tests/test-striconveh.c (main): On NetBSD, skip a test that triggers + an iconv() bug. + +2010-05-24 Bruno Haible + + Adjust #include directive style. + * modules/regex (Includes): Recommend to write . + +2010-05-24 Bruno Haible + + regex: Don't require alloca. + * modules/regex (Depends-on): Remove alloca. Add alloca-opt. + * lib/regex_internal.h (alloca): Ensure it's defined even if we call it + only inside if (0). + +2010-05-23 Jim Meyering + + test-renameat.c: include + * tests/test-renameat.c: Include ; required for + definition of S_IS* macros. + +2010-05-23 Ben Pfaff + + Update maintainer documentation for 'relocatable-prog' module. + * doc/relocatable-maint.texi: Update. + Comments by Bruno Haible. + +2010-05-23 Bruno Haible + + git-merge-changelog: Enable --split-merged-entry by default. + * lib/git-merge-changelog.c (main): Set split_merged_entry to true. + (usage): Don't mention this option any more. + Reported by Ralf Wildenhues. + +2010-05-23 Jim Meyering + + test-pwrite: do not leave behind a test file named "out" + Revert commit d8fa18472a54c1cb2674c296b3d82443f234d5f7. + The trivial-looking use of init.sh is really necessary. + It ensures that the temporary file, "out", is created in + a temporary directory, and removed upon termination. + * tests/test-pwrite.sh: Re-add file. + * modules/pwrite-tests: Reference it. + +2010-05-23 Ralf Wildenhues + + Fix output redirection buglet in init.sh. + * tests/init.sh: Fix redirection of stderr. + +2010-05-20 Simon Josefsson + + * modules/valgrind-tests (configure.ac): Invoke gl_VALGRIND_TESTS. + +2010-05-17 Simon Josefsson + + * modules/valgrind-tests: New file. + * m4/valgrind-tests.m4: New file. + * doc/valgrind-tests.texi: New file. + * doc/gnulib.texi (Running self-tests under valgrind): New + section. + +2010-05-19 Bruno Haible + + Clean up dead code in recent commit. + * m4/libunistring-base.m4 (gl_LIBUNISTRING_VERSION_CMP): Include the + body of gl_LIBUNISTRING_VERSION_CMP_ORIG as fallback. + (gl_LIBUNISTRING_VERSION_CMP_ORIG): Remove macro. + Suggested by Paolo Bonzini. + +2010-05-19 Bruno Haible + + Avoid valgrind error reports from libunistring. + * lib/libunistring.valgrind: New file, based on lib/malloca.valgrind. + * modules/libunistring (Files): Add it. + * modules/libunistring-optional (Files): Likewise. + +2010-05-18 Paolo Bonzini + Bruno Haible + + New module 'libunistring-optional'. + * modules/libunistring-optional: New file. + * m4/libunistring-base.m4: New file. + * m4/libunistring-optional.m4: New file. + * lib/unicase.in.h: Renamed from lib/unicase.h. + * lib/uniconv.in.h: Renamed from lib/uniconv.h. + * lib/unictype.in.h: Renamed from lib/unictype.h. + * lib/unilbrk.in.h: Renamed from lib/unilbrk.h. + * lib/uniname.in.h: Renamed from lib/uniname.h. + * lib/uninorm.in.h: Renamed from lib/uninorm.h. + * lib/unistdio.in.h: Renamed from lib/unistdio.h. + * lib/unistr.in.h: Renamed from lib/unistr.h. + * lib/unitypes.in.h: Renamed from lib/unitypes.h. + * lib/uniwbrk.in.h: Renamed from lib/uniwbrk.h. + * lib/uniwidth.in.h: Renamed from lib/uniwidth.h. + * m4/libunistring.m4 (gl_LIBUNISTRING_CORE): Renamed from + gl_LIBUNISTRING. If the library was found, determine the installed + version and set LIBUNISTRING_VERSION. + (gl_LIBUNISTRING): New macro, as a wrapper arount it. Document that it + sets LIBUNISTRING_VERSION. If the module libunistring-optional is used, + handle a configuration option --with-included-libunistring. + * modules/libunistring (Files): Add m4/absolute-header.m4. + * modules/unicase/base (Files): Use unicase.in.h instead of unicase.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unicase.h from unicase.in.h. + * modules/uniconv/base (Files): Use uniconv.in.h instead of uniconv.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build uniconv.h from uniconv.in.h. + * modules/unictype/base (Files): Use unictype.in.h instead of + unictype.h. Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unictype.h from unictype.in.h. + * modules/unilbrk/base (Files): Use unilbrk.in.h instead of unilbrk.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unilbrk.h from unilbrk.in.h. + * modules/uniname/base (Files): Use uniname.in.h instead of uniname.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build uniname.h from uniname.in.h. + * modules/uninorm/base (Files): Use uninorm.in.h instead of uninorm.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build uninorm.h from uninorm.in.h. + * modules/unistdio/base (Files): Use unistdio.in.h instead of + unistdio.h. Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unistdio.h from unistdio.in.h. + * modules/unistr/base (Files): Use unistr.in.h instead of unistr.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unistr.h from unistr.in.h. + * modules/unitypes (Files): Use unitypes.in.h instead of unitypes.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build unitypes.h from unitypes.in.h. + * modules/uniwbrk/base (Files): Use uniwbrk.in.h instead of uniwbrk.h. + Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build uniwbrk.h from uniwbrk.in.h. + * modules/uniwidth/base (Files): Use uniwidth.in.h instead of + uniwidth.h. Add m4/libunistring-base.m4. + (configure.ac): Invoke gl_LIBUNISTRING_LIBHEADER. + (Makefile.am): Build uniwidth.h from uniwidth.in.h. + * modules/unicase/empty-prefix-context: Use gl_LIBUNISTRING_LIBSOURCE + instead of augmenting lib_SOURCES. + * modules/unicase/empty-suffix-context: Likewise. + * modules/unicase/locale-language: Likewise. + * modules/unicase/tolower: Likewise. + * modules/unicase/totitle: Likewise. + * modules/unicase/toupper: Likewise. + * modules/unicase/u8-casecmp: Likewise. + * modules/unicase/u8-casecoll: Likewise. + * modules/unicase/u8-casefold: Likewise. + * modules/unicase/u8-casexfrm: Likewise. + * modules/unicase/u8-ct-casefold: Likewise. + * modules/unicase/u8-ct-tolower: Likewise. + * modules/unicase/u8-ct-totitle: Likewise. + * modules/unicase/u8-ct-toupper: Likewise. + * modules/unicase/u8-is-cased: Likewise. + * modules/unicase/u8-is-casefolded: Likewise. + * modules/unicase/u8-is-lowercase: Likewise. + * modules/unicase/u8-is-titlecase: Likewise. + * modules/unicase/u8-is-uppercase: Likewise. + * modules/unicase/u8-prefix-context: Likewise. + * modules/unicase/u8-suffix-context: Likewise. + * modules/unicase/u8-tolower: Likewise. + * modules/unicase/u8-totitle: Likewise. + * modules/unicase/u8-toupper: Likewise. + * modules/unicase/u16-casecmp: Likewise. + * modules/unicase/u16-casecoll: Likewise. + * modules/unicase/u16-casefold: Likewise. + * modules/unicase/u16-casexfrm: Likewise. + * modules/unicase/u16-ct-casefold: Likewise. + * modules/unicase/u16-ct-tolower: Likewise. + * modules/unicase/u16-ct-totitle: Likewise. + * modules/unicase/u16-ct-toupper: Likewise. + * modules/unicase/u16-is-cased: Likewise. + * modules/unicase/u16-is-casefolded: Likewise. + * modules/unicase/u16-is-lowercase: Likewise. + * modules/unicase/u16-is-titlecase: Likewise. + * modules/unicase/u16-is-uppercase: Likewise. + * modules/unicase/u16-prefix-context: Likewise. + * modules/unicase/u16-suffix-context: Likewise. + * modules/unicase/u16-tolower: Likewise. + * modules/unicase/u16-totitle: Likewise. + * modules/unicase/u16-toupper: Likewise. + * modules/unicase/u32-casecmp: Likewise. + * modules/unicase/u32-casecoll: Likewise. + * modules/unicase/u32-casefold: Likewise. + * modules/unicase/u32-casexfrm: Likewise. + * modules/unicase/u32-ct-casefold: Likewise. + * modules/unicase/u32-ct-tolower: Likewise. + * modules/unicase/u32-ct-totitle: Likewise. + * modules/unicase/u32-ct-toupper: Likewise. + * modules/unicase/u32-is-cased: Likewise. + * modules/unicase/u32-is-casefolded: Likewise. + * modules/unicase/u32-is-lowercase: Likewise. + * modules/unicase/u32-is-titlecase: Likewise. + * modules/unicase/u32-is-uppercase: Likewise. + * modules/unicase/u32-prefix-context: Likewise. + * modules/unicase/u32-suffix-context: Likewise. + * modules/unicase/u32-tolower: Likewise. + * modules/unicase/u32-totitle: Likewise. + * modules/unicase/u32-toupper: Likewise. + * modules/unicase/ulc-casecmp: Likewise. + * modules/unicase/ulc-casecoll: Likewise. + * modules/unicase/ulc-casexfrm: Likewise. + * modules/uniconv/u8-conv-from-enc: Likewise. + * modules/uniconv/u8-conv-to-enc: Likewise. + * modules/uniconv/u8-strconv-from-enc: Likewise. + * modules/uniconv/u8-strconv-from-locale: Likewise. + * modules/uniconv/u8-strconv-to-enc: Likewise. + * modules/uniconv/u8-strconv-to-locale: Likewise. + * modules/uniconv/u16-conv-from-enc: Likewise. + * modules/uniconv/u16-conv-to-enc: Likewise. + * modules/uniconv/u16-strconv-from-enc: Likewise. + * modules/uniconv/u16-strconv-from-locale: Likewise. + * modules/uniconv/u16-strconv-to-enc: Likewise. + * modules/uniconv/u16-strconv-to-locale: Likewise. + * modules/uniconv/u32-conv-from-enc: Likewise. + * modules/uniconv/u32-conv-to-enc: Likewise. + * modules/uniconv/u32-strconv-from-enc: Likewise. + * modules/uniconv/u32-strconv-from-locale: Likewise. + * modules/uniconv/u32-strconv-to-enc: Likewise. + * modules/uniconv/u32-strconv-to-locale: Likewise. + * modules/unictype/bidicategory-byname: Likewise. + * modules/unictype/bidicategory-name: Likewise. + * modules/unictype/bidicategory-of: Likewise. + * modules/unictype/bidicategory-test: Likewise. + * modules/unictype/block-list: Likewise. + * modules/unictype/block-test: Likewise. + * modules/unictype/category-C: Likewise. + * modules/unictype/category-Cc: Likewise. + * modules/unictype/category-Cf: Likewise. + * modules/unictype/category-Cn: Likewise. + * modules/unictype/category-Co: Likewise. + * modules/unictype/category-Cs: Likewise. + * modules/unictype/category-L: Likewise. + * modules/unictype/category-Ll: Likewise. + * modules/unictype/category-Lm: Likewise. + * modules/unictype/category-Lo: Likewise. + * modules/unictype/category-Lt: Likewise. + * modules/unictype/category-Lu: Likewise. + * modules/unictype/category-M: Likewise. + * modules/unictype/category-Mc: Likewise. + * modules/unictype/category-Me: Likewise. + * modules/unictype/category-Mn: Likewise. + * modules/unictype/category-N: Likewise. + * modules/unictype/category-Nd: Likewise. + * modules/unictype/category-Nl: Likewise. + * modules/unictype/category-No: Likewise. + * modules/unictype/category-P: Likewise. + * modules/unictype/category-Pc: Likewise. + * modules/unictype/category-Pd: Likewise. + * modules/unictype/category-Pe: Likewise. + * modules/unictype/category-Pf: Likewise. + * modules/unictype/category-Pi: Likewise. + * modules/unictype/category-Po: Likewise. + * modules/unictype/category-Ps: Likewise. + * modules/unictype/category-S: Likewise. + * modules/unictype/category-Sc: Likewise. + * modules/unictype/category-Sk: Likewise. + * modules/unictype/category-Sm: Likewise. + * modules/unictype/category-So: Likewise. + * modules/unictype/category-Z: Likewise. + * modules/unictype/category-Zl: Likewise. + * modules/unictype/category-Zp: Likewise. + * modules/unictype/category-Zs: Likewise. + * modules/unictype/category-and: Likewise. + * modules/unictype/category-and-not: Likewise. + * modules/unictype/category-byname: Likewise. + * modules/unictype/category-name: Likewise. + * modules/unictype/category-none: Likewise. + * modules/unictype/category-of: Likewise. + * modules/unictype/category-or: Likewise. + * modules/unictype/category-test: Likewise. + * modules/unictype/combining-class: Likewise. + * modules/unictype/ctype-alnum: Likewise. + * modules/unictype/ctype-alpha: Likewise. + * modules/unictype/ctype-blank: Likewise. + * modules/unictype/ctype-cntrl: Likewise. + * modules/unictype/ctype-digit: Likewise. + * modules/unictype/ctype-graph: Likewise. + * modules/unictype/ctype-lower: Likewise. + * modules/unictype/ctype-print: Likewise. + * modules/unictype/ctype-punct: Likewise. + * modules/unictype/ctype-space: Likewise. + * modules/unictype/ctype-upper: Likewise. + * modules/unictype/ctype-xdigit: Likewise. + * modules/unictype/decimal-digit: Likewise. + * modules/unictype/digit: Likewise. + * modules/unictype/mirror: Likewise. + * modules/unictype/numeric: Likewise. + * modules/unictype/property-alphabetic: Likewise. + * modules/unictype/property-ascii-hex-digit: Likewise. + * modules/unictype/property-bidi-arabic-digit: Likewise. + * modules/unictype/property-bidi-arabic-right-to-left: Likewise. + * modules/unictype/property-bidi-block-separator: Likewise. + * modules/unictype/property-bidi-boundary-neutral: Likewise. + * modules/unictype/property-bidi-common-separator: Likewise. + * modules/unictype/property-bidi-control: Likewise. + * modules/unictype/property-bidi-embedding-or-override: Likewise. + * modules/unictype/property-bidi-eur-num-separator: Likewise. + * modules/unictype/property-bidi-eur-num-terminator: Likewise. + * modules/unictype/property-bidi-european-digit: Likewise. + * modules/unictype/property-bidi-hebrew-right-to-left: Likewise. + * modules/unictype/property-bidi-left-to-right: Likewise. + * modules/unictype/property-bidi-non-spacing-mark: Likewise. + * modules/unictype/property-bidi-other-neutral: Likewise. + * modules/unictype/property-bidi-pdf: Likewise. + * modules/unictype/property-bidi-segment-separator: Likewise. + * modules/unictype/property-bidi-whitespace: Likewise. + * modules/unictype/property-byname: Likewise. + * modules/unictype/property-combining: Likewise. + * modules/unictype/property-composite: Likewise. + * modules/unictype/property-currency-symbol: Likewise. + * modules/unictype/property-dash: Likewise. + * modules/unictype/property-decimal-digit: Likewise. + * modules/unictype/property-default-ignorable-code-point: Likewise. + * modules/unictype/property-deprecated: Likewise. + * modules/unictype/property-diacritic: Likewise. + * modules/unictype/property-extender: Likewise. + * modules/unictype/property-format-control: Likewise. + * modules/unictype/property-grapheme-base: Likewise. + * modules/unictype/property-grapheme-extend: Likewise. + * modules/unictype/property-grapheme-link: Likewise. + * modules/unictype/property-hex-digit: Likewise. + * modules/unictype/property-hyphen: Likewise. + * modules/unictype/property-id-continue: Likewise. + * modules/unictype/property-id-start: Likewise. + * modules/unictype/property-ideographic: Likewise. + * modules/unictype/property-ids-binary-operator: Likewise. + * modules/unictype/property-ids-trinary-operator: Likewise. + * modules/unictype/property-ignorable-control: Likewise. + * modules/unictype/property-iso-control: Likewise. + * modules/unictype/property-join-control: Likewise. + * modules/unictype/property-left-of-pair: Likewise. + * modules/unictype/property-line-separator: Likewise. + * modules/unictype/property-logical-order-exception: Likewise. + * modules/unictype/property-lowercase: Likewise. + * modules/unictype/property-math: Likewise. + * modules/unictype/property-non-break: Likewise. + * modules/unictype/property-not-a-character: Likewise. + * modules/unictype/property-numeric: Likewise. + * modules/unictype/property-other-alphabetic: Likewise. + * modules/unictype/property-other-default-ignorable-code-point: Likewise. + * modules/unictype/property-other-grapheme-extend: Likewise. + * modules/unictype/property-other-id-continue: Likewise. + * modules/unictype/property-other-id-start: Likewise. + * modules/unictype/property-other-lowercase: Likewise. + * modules/unictype/property-other-math: Likewise. + * modules/unictype/property-other-uppercase: Likewise. + * modules/unictype/property-paired-punctuation: Likewise. + * modules/unictype/property-paragraph-separator: Likewise. + * modules/unictype/property-pattern-syntax: Likewise. + * modules/unictype/property-pattern-white-space: Likewise. + * modules/unictype/property-private-use: Likewise. + * modules/unictype/property-punctuation: Likewise. + * modules/unictype/property-quotation-mark: Likewise. + * modules/unictype/property-radical: Likewise. + * modules/unictype/property-sentence-terminal: Likewise. + * modules/unictype/property-soft-dotted: Likewise. + * modules/unictype/property-space: Likewise. + * modules/unictype/property-terminal-punctuation: Likewise. + * modules/unictype/property-test: Likewise. + * modules/unictype/property-titlecase: Likewise. + * modules/unictype/property-unassigned-code-value: Likewise. + * modules/unictype/property-unified-ideograph: Likewise. + * modules/unictype/property-uppercase: Likewise. + * modules/unictype/property-variation-selector: Likewise. + * modules/unictype/property-white-space: Likewise. + * modules/unictype/property-xid-continue: Likewise. + * modules/unictype/property-xid-start: Likewise. + * modules/unictype/property-zero-width: Likewise. + * modules/unictype/scripts: Likewise. + * modules/unictype/syntax-c-ident: Likewise. + * modules/unictype/syntax-c-whitespace: Likewise. + * modules/unictype/syntax-java-ident: Likewise. + * modules/unictype/syntax-java-whitespace: Likewise. + * modules/unilbrk/u8-possible-linebreaks: Likewise. + * modules/unilbrk/u8-width-linebreaks: Likewise. + * modules/unilbrk/u16-possible-linebreaks: Likewise. + * modules/unilbrk/u16-width-linebreaks: Likewise. + * modules/unilbrk/u32-possible-linebreaks: Likewise. + * modules/unilbrk/u32-width-linebreaks: Likewise. + * modules/unilbrk/ulc-possible-linebreaks: Likewise. + * modules/unilbrk/ulc-width-linebreaks: Likewise. + * modules/uniname/uniname: Likewise. + * modules/uninorm/canonical-decomposition: Likewise. + * modules/uninorm/composition: Likewise. + * modules/uninorm/decomposing-form: Likewise. + * modules/uninorm/decomposition: Likewise. + * modules/uninorm/filter: Likewise. + * modules/uninorm/nfc: Likewise. + * modules/uninorm/nfd: Likewise. + * modules/uninorm/nfkc: Likewise. + * modules/uninorm/nfkd: Likewise. + * modules/uninorm/u8-normalize: Likewise. + * modules/uninorm/u8-normcmp: Likewise. + * modules/uninorm/u8-normcoll: Likewise. + * modules/uninorm/u8-normxfrm: Likewise. + * modules/uninorm/u16-normalize: Likewise. + * modules/uninorm/u16-normcmp: Likewise. + * modules/uninorm/u16-normcoll: Likewise. + * modules/uninorm/u16-normxfrm: Likewise. + * modules/uninorm/u32-normalize: Likewise. + * modules/uninorm/u32-normcmp: Likewise. + * modules/uninorm/u32-normcoll: Likewise. + * modules/uninorm/u32-normxfrm: Likewise. + * modules/unistdio/u8-asnprintf: Likewise. + * modules/unistdio/u8-asprintf: Likewise. + * modules/unistdio/u8-snprintf: Likewise. + * modules/unistdio/u8-sprintf: Likewise. + * modules/unistdio/u8-u8-asnprintf: Likewise. + * modules/unistdio/u8-u8-asprintf: Likewise. + * modules/unistdio/u8-u8-snprintf: Likewise. + * modules/unistdio/u8-u8-sprintf: Likewise. + * modules/unistdio/u8-u8-vasnprintf: Likewise. + * modules/unistdio/u8-u8-vasprintf: Likewise. + * modules/unistdio/u8-u8-vsnprintf: Likewise. + * modules/unistdio/u8-u8-vsprintf: Likewise. + * modules/unistdio/u8-vasnprintf: Likewise. + * modules/unistdio/u8-vasprintf: Likewise. + * modules/unistdio/u8-vsnprintf: Likewise. + * modules/unistdio/u8-vsprintf: Likewise. + * modules/unistdio/u16-asnprintf: Likewise. + * modules/unistdio/u16-asprintf: Likewise. + * modules/unistdio/u16-snprintf: Likewise. + * modules/unistdio/u16-sprintf: Likewise. + * modules/unistdio/u16-u16-asnprintf: Likewise. + * modules/unistdio/u16-u16-asprintf: Likewise. + * modules/unistdio/u16-u16-snprintf: Likewise. + * modules/unistdio/u16-u16-sprintf: Likewise. + * modules/unistdio/u16-u16-vasnprintf: Likewise. + * modules/unistdio/u16-u16-vasprintf: Likewise. + * modules/unistdio/u16-u16-vsnprintf: Likewise. + * modules/unistdio/u16-u16-vsprintf: Likewise. + * modules/unistdio/u16-vasnprintf: Likewise. + * modules/unistdio/u16-vasprintf: Likewise. + * modules/unistdio/u16-vsnprintf: Likewise. + * modules/unistdio/u16-vsprintf: Likewise. + * modules/unistdio/u32-asnprintf: Likewise. + * modules/unistdio/u32-asprintf: Likewise. + * modules/unistdio/u32-snprintf: Likewise. + * modules/unistdio/u32-sprintf: Likewise. + * modules/unistdio/u32-u32-asnprintf: Likewise. + * modules/unistdio/u32-u32-asprintf: Likewise. + * modules/unistdio/u32-u32-snprintf: Likewise. + * modules/unistdio/u32-u32-sprintf: Likewise. + * modules/unistdio/u32-u32-vasnprintf: Likewise. + * modules/unistdio/u32-u32-vasprintf: Likewise. + * modules/unistdio/u32-u32-vsnprintf: Likewise. + * modules/unistdio/u32-u32-vsprintf: Likewise. + * modules/unistdio/u32-vasnprintf: Likewise. + * modules/unistdio/u32-vasprintf: Likewise. + * modules/unistdio/u32-vsnprintf: Likewise. + * modules/unistdio/u32-vsprintf: Likewise. + * modules/unistdio/ulc-asnprintf: Likewise. + * modules/unistdio/ulc-asprintf: Likewise. + * modules/unistdio/ulc-fprintf: Likewise. + * modules/unistdio/ulc-snprintf: Likewise. + * modules/unistdio/ulc-sprintf: Likewise. + * modules/unistdio/ulc-vasnprintf: Likewise. + * modules/unistdio/ulc-vasprintf: Likewise. + * modules/unistdio/ulc-vfprintf: Likewise. + * modules/unistdio/ulc-vsnprintf: Likewise. + * modules/unistdio/ulc-vsprintf: Likewise. + * modules/unistr/u8-check: Likewise. + * modules/unistr/u8-chr: Likewise. + * modules/unistr/u8-cmp: Likewise. + * modules/unistr/u8-cmp2: Likewise. + * modules/unistr/u8-cpy: Likewise. + * modules/unistr/u8-cpy-alloc: Likewise. + * modules/unistr/u8-endswith: Likewise. + * modules/unistr/u8-mblen: Likewise. + * modules/unistr/u8-mbsnlen: Likewise. + * modules/unistr/u8-mbtouc: Likewise. + * modules/unistr/u8-mbtouc-unsafe: Likewise. + * modules/unistr/u8-mbtoucr: Likewise. + * modules/unistr/u8-move: Likewise. + * modules/unistr/u8-next: Likewise. + * modules/unistr/u8-prev: Likewise. + * modules/unistr/u8-set: Likewise. + * modules/unistr/u8-startswith: Likewise. + * modules/unistr/u8-stpcpy: Likewise. + * modules/unistr/u8-stpncpy: Likewise. + * modules/unistr/u8-strcat: Likewise. + * modules/unistr/u8-strchr: Likewise. + * modules/unistr/u8-strcmp: Likewise. + * modules/unistr/u8-strcoll: Likewise. + * modules/unistr/u8-strcpy: Likewise. + * modules/unistr/u8-strcspn: Likewise. + * modules/unistr/u8-strdup: Likewise. + * modules/unistr/u8-strlen: Likewise. + * modules/unistr/u8-strmblen: Likewise. + * modules/unistr/u8-strmbtouc: Likewise. + * modules/unistr/u8-strncat: Likewise. + * modules/unistr/u8-strncmp: Likewise. + * modules/unistr/u8-strncpy: Likewise. + * modules/unistr/u8-strnlen: Likewise. + * modules/unistr/u8-strpbrk: Likewise. + * modules/unistr/u8-strrchr: Likewise. + * modules/unistr/u8-strspn: Likewise. + * modules/unistr/u8-strstr: Likewise. + * modules/unistr/u8-strtok: Likewise. + * modules/unistr/u8-to-u16: Likewise. + * modules/unistr/u8-to-u32: Likewise. + * modules/unistr/u8-uctomb: Likewise. + * modules/unistr/u16-check: Likewise. + * modules/unistr/u16-chr: Likewise. + * modules/unistr/u16-cmp: Likewise. + * modules/unistr/u16-cmp2: Likewise. + * modules/unistr/u16-cpy: Likewise. + * modules/unistr/u16-cpy-alloc: Likewise. + * modules/unistr/u16-endswith: Likewise. + * modules/unistr/u16-mblen: Likewise. + * modules/unistr/u16-mbsnlen: Likewise. + * modules/unistr/u16-mbtouc: Likewise. + * modules/unistr/u16-mbtouc-unsafe: Likewise. + * modules/unistr/u16-mbtoucr: Likewise. + * modules/unistr/u16-move: Likewise. + * modules/unistr/u16-next: Likewise. + * modules/unistr/u16-prev: Likewise. + * modules/unistr/u16-set: Likewise. + * modules/unistr/u16-startswith: Likewise. + * modules/unistr/u16-stpcpy: Likewise. + * modules/unistr/u16-stpncpy: Likewise. + * modules/unistr/u16-strcat: Likewise. + * modules/unistr/u16-strchr: Likewise. + * modules/unistr/u16-strcmp: Likewise. + * modules/unistr/u16-strcoll: Likewise. + * modules/unistr/u16-strcpy: Likewise. + * modules/unistr/u16-strcspn: Likewise. + * modules/unistr/u16-strdup: Likewise. + * modules/unistr/u16-strlen: Likewise. + * modules/unistr/u16-strmblen: Likewise. + * modules/unistr/u16-strmbtouc: Likewise. + * modules/unistr/u16-strncat: Likewise. + * modules/unistr/u16-strncmp: Likewise. + * modules/unistr/u16-strncpy: Likewise. + * modules/unistr/u16-strnlen: Likewise. + * modules/unistr/u16-strpbrk: Likewise. + * modules/unistr/u16-strrchr: Likewise. + * modules/unistr/u16-strspn: Likewise. + * modules/unistr/u16-strstr: Likewise. + * modules/unistr/u16-strtok: Likewise. + * modules/unistr/u16-to-u32: Likewise. + * modules/unistr/u16-to-u8: Likewise. + * modules/unistr/u16-uctomb: Likewise. + * modules/unistr/u32-check: Likewise. + * modules/unistr/u32-chr: Likewise. + * modules/unistr/u32-cmp: Likewise. + * modules/unistr/u32-cmp2: Likewise. + * modules/unistr/u32-cpy: Likewise. + * modules/unistr/u32-cpy-alloc: Likewise. + * modules/unistr/u32-endswith: Likewise. + * modules/unistr/u32-mblen: Likewise. + * modules/unistr/u32-mbsnlen: Likewise. + * modules/unistr/u32-mbtouc: Likewise. + * modules/unistr/u32-mbtouc-unsafe: Likewise. + * modules/unistr/u32-mbtoucr: Likewise. + * modules/unistr/u32-move: Likewise. + * modules/unistr/u32-next: Likewise. + * modules/unistr/u32-prev: Likewise. + * modules/unistr/u32-set: Likewise. + * modules/unistr/u32-startswith: Likewise. + * modules/unistr/u32-stpcpy: Likewise. + * modules/unistr/u32-stpncpy: Likewise. + * modules/unistr/u32-strcat: Likewise. + * modules/unistr/u32-strchr: Likewise. + * modules/unistr/u32-strcmp: Likewise. + * modules/unistr/u32-strcoll: Likewise. + * modules/unistr/u32-strcpy: Likewise. + * modules/unistr/u32-strcspn: Likewise. + * modules/unistr/u32-strdup: Likewise. + * modules/unistr/u32-strlen: Likewise. + * modules/unistr/u32-strmblen: Likewise. + * modules/unistr/u32-strmbtouc: Likewise. + * modules/unistr/u32-strncat: Likewise. + * modules/unistr/u32-strncmp: Likewise. + * modules/unistr/u32-strncpy: Likewise. + * modules/unistr/u32-strnlen: Likewise. + * modules/unistr/u32-strpbrk: Likewise. + * modules/unistr/u32-strrchr: Likewise. + * modules/unistr/u32-strspn: Likewise. + * modules/unistr/u32-strstr: Likewise. + * modules/unistr/u32-strtok: Likewise. + * modules/unistr/u32-to-u16: Likewise. + * modules/unistr/u32-to-u8: Likewise. + * modules/unistr/u32-uctomb: Likewise. + * modules/uniwbrk/u8-wordbreaks: Likewise. + * modules/uniwbrk/u16-wordbreaks: Likewise. + * modules/uniwbrk/u32-wordbreaks: Likewise. + * modules/uniwbrk/ulc-wordbreaks: Likewise. + * modules/uniwbrk/wordbreak-property: Likewise. + * modules/uniwidth/u8-strwidth: Likewise. + * modules/uniwidth/u8-width: Likewise. + * modules/uniwidth/u16-strwidth: Likewise. + * modules/uniwidth/u16-width: Likewise. + * modules/uniwidth/u32-strwidth: Likewise. + * modules/uniwidth/u32-width: Likewise. + * modules/uniwidth/width: Likewise. + * modules/unicase/cased-tests (Makefile.am): Link all test programs + with $(LIBUNISTRING). + * modules/unicase/ignorable-tests: Likewise. + * modules/unicase/locale-language-tests: Likewise. + * modules/unicase/tolower-tests: Likewise. + * modules/unicase/totitle-tests: Likewise. + * modules/unicase/toupper-tests: Likewise. + * modules/unicase/u8-casecmp-tests: Likewise. + * modules/unicase/u8-casecoll-tests: Likewise. + * modules/unicase/u8-casefold-tests: Likewise. + * modules/unicase/u8-is-cased-tests: Likewise. + * modules/unicase/u8-is-casefolded-tests: Likewise. + * modules/unicase/u8-is-lowercase-tests: Likewise. + * modules/unicase/u8-is-titlecase-tests: Likewise. + * modules/unicase/u8-is-uppercase-tests: Likewise. + * modules/unicase/u8-tolower-tests: Likewise. + * modules/unicase/u8-totitle-tests: Likewise. + * modules/unicase/u8-toupper-tests: Likewise. + * modules/unicase/u16-casecmp-tests: Likewise. + * modules/unicase/u16-casecoll-tests: Likewise. + * modules/unicase/u16-casefold-tests: Likewise. + * modules/unicase/u16-is-cased-tests: Likewise. + * modules/unicase/u16-is-casefolded-tests: Likewise. + * modules/unicase/u16-is-lowercase-tests: Likewise. + * modules/unicase/u16-is-titlecase-tests: Likewise. + * modules/unicase/u16-is-uppercase-tests: Likewise. + * modules/unicase/u16-tolower-tests: Likewise. + * modules/unicase/u16-totitle-tests: Likewise. + * modules/unicase/u16-toupper-tests: Likewise. + * modules/unicase/u32-casecmp-tests: Likewise. + * modules/unicase/u32-casecoll-tests: Likewise. + * modules/unicase/u32-casefold-tests: Likewise. + * modules/unicase/u32-is-cased-tests: Likewise. + * modules/unicase/u32-is-casefolded-tests: Likewise. + * modules/unicase/u32-is-lowercase-tests: Likewise. + * modules/unicase/u32-is-titlecase-tests: Likewise. + * modules/unicase/u32-is-uppercase-tests: Likewise. + * modules/unicase/u32-tolower-tests: Likewise. + * modules/unicase/u32-totitle-tests: Likewise. + * modules/unicase/u32-toupper-tests: Likewise. + * modules/unicase/ulc-casecmp-tests: Likewise. + * modules/unicase/ulc-casecoll-tests: Likewise. + * modules/uniconv/u8-conv-from-enc-tests: Likewise. + * modules/uniconv/u8-conv-to-enc-tests: Likewise. + * modules/uniconv/u8-strconv-from-enc-tests: Likewise. + * modules/uniconv/u8-strconv-to-enc-tests: Likewise. + * modules/uniconv/u16-conv-from-enc-tests: Likewise. + * modules/uniconv/u16-conv-to-enc-tests: Likewise. + * modules/uniconv/u16-strconv-from-enc-tests: Likewise. + * modules/uniconv/u16-strconv-to-enc-tests: Likewise. + * modules/uniconv/u32-conv-from-enc-tests: Likewise. + * modules/uniconv/u32-conv-to-enc-tests: Likewise. + * modules/uniconv/u32-strconv-from-enc-tests: Likewise. + * modules/uniconv/u32-strconv-to-enc-tests: Likewise. + * modules/unictype/bidicategory-byname-tests: Likewise. + * modules/unictype/bidicategory-name-tests: Likewise. + * modules/unictype/bidicategory-of-tests: Likewise. + * modules/unictype/bidicategory-test-tests: Likewise. + * modules/unictype/block-list-tests: Likewise. + * modules/unictype/block-of-tests: Likewise. + * modules/unictype/block-test-tests: Likewise. + * modules/unictype/category-C-tests: Likewise. + * modules/unictype/category-Cc-tests: Likewise. + * modules/unictype/category-Cf-tests: Likewise. + * modules/unictype/category-Cn-tests: Likewise. + * modules/unictype/category-Co-tests: Likewise. + * modules/unictype/category-Cs-tests: Likewise. + * modules/unictype/category-L-tests: Likewise. + * modules/unictype/category-Ll-tests: Likewise. + * modules/unictype/category-Lm-tests: Likewise. + * modules/unictype/category-Lo-tests: Likewise. + * modules/unictype/category-Lt-tests: Likewise. + * modules/unictype/category-Lu-tests: Likewise. + * modules/unictype/category-M-tests: Likewise. + * modules/unictype/category-Mc-tests: Likewise. + * modules/unictype/category-Me-tests: Likewise. + * modules/unictype/category-Mn-tests: Likewise. + * modules/unictype/category-N-tests: Likewise. + * modules/unictype/category-Nd-tests: Likewise. + * modules/unictype/category-Nl-tests: Likewise. + * modules/unictype/category-No-tests: Likewise. + * modules/unictype/category-P-tests: Likewise. + * modules/unictype/category-Pc-tests: Likewise. + * modules/unictype/category-Pd-tests: Likewise. + * modules/unictype/category-Pe-tests: Likewise. + * modules/unictype/category-Pf-tests: Likewise. + * modules/unictype/category-Pi-tests: Likewise. + * modules/unictype/category-Po-tests: Likewise. + * modules/unictype/category-Ps-tests: Likewise. + * modules/unictype/category-S-tests: Likewise. + * modules/unictype/category-Sc-tests: Likewise. + * modules/unictype/category-Sk-tests: Likewise. + * modules/unictype/category-Sm-tests: Likewise. + * modules/unictype/category-So-tests: Likewise. + * modules/unictype/category-Z-tests: Likewise. + * modules/unictype/category-Zl-tests: Likewise. + * modules/unictype/category-Zp-tests: Likewise. + * modules/unictype/category-Zs-tests: Likewise. + * modules/unictype/category-and-not-tests: Likewise. + * modules/unictype/category-and-tests: Likewise. + * modules/unictype/category-byname-tests: Likewise. + * modules/unictype/category-name-tests: Likewise. + * modules/unictype/category-none-tests: Likewise. + * modules/unictype/category-of-tests: Likewise. + * modules/unictype/category-or-tests: Likewise. + * modules/unictype/category-test-withtable-tests: Likewise. + * modules/unictype/combining-class-tests: Likewise. + * modules/unictype/ctype-alnum-tests: Likewise. + * modules/unictype/ctype-alpha-tests: Likewise. + * modules/unictype/ctype-blank-tests: Likewise. + * modules/unictype/ctype-cntrl-tests: Likewise. + * modules/unictype/ctype-digit-tests: Likewise. + * modules/unictype/ctype-graph-tests: Likewise. + * modules/unictype/ctype-lower-tests: Likewise. + * modules/unictype/ctype-print-tests: Likewise. + * modules/unictype/ctype-punct-tests: Likewise. + * modules/unictype/ctype-space-tests: Likewise. + * modules/unictype/ctype-upper-tests: Likewise. + * modules/unictype/ctype-xdigit-tests: Likewise. + * modules/unictype/decimal-digit-tests: Likewise. + * modules/unictype/digit-tests: Likewise. + * modules/unictype/mirror-tests: Likewise. + * modules/unictype/numeric-tests: Likewise. + * modules/unictype/property-alphabetic-tests: Likewise. + * modules/unictype/property-ascii-hex-digit-tests: Likewise. + * modules/unictype/property-bidi-arabic-digit-tests: Likewise. + * modules/unictype/property-bidi-arabic-right-to-left-tests: Likewise. + * modules/unictype/property-bidi-block-separator-tests: Likewise. + * modules/unictype/property-bidi-boundary-neutral-tests: Likewise. + * modules/unictype/property-bidi-common-separator-tests: Likewise. + * modules/unictype/property-bidi-control-tests: Likewise. + * modules/unictype/property-bidi-embedding-or-override-tests: Likewise. + * modules/unictype/property-bidi-eur-num-separator-tests: Likewise. + * modules/unictype/property-bidi-eur-num-terminator-tests: Likewise. + * modules/unictype/property-bidi-european-digit-tests: Likewise. + * modules/unictype/property-bidi-hebrew-right-to-left-tests: Likewise. + * modules/unictype/property-bidi-left-to-right-tests: Likewise. + * modules/unictype/property-bidi-non-spacing-mark-tests: Likewise. + * modules/unictype/property-bidi-other-neutral-tests: Likewise. + * modules/unictype/property-bidi-pdf-tests: Likewise. + * modules/unictype/property-bidi-segment-separator-tests: Likewise. + * modules/unictype/property-bidi-whitespace-tests: Likewise. + * modules/unictype/property-byname-tests: Likewise. + * modules/unictype/property-combining-tests: Likewise. + * modules/unictype/property-composite-tests: Likewise. + * modules/unictype/property-currency-symbol-tests: Likewise. + * modules/unictype/property-dash-tests: Likewise. + * modules/unictype/property-decimal-digit-tests: Likewise. + * modules/unictype/property-default-ignorable-code-point-tests: Likewise. + * modules/unictype/property-deprecated-tests: Likewise. + * modules/unictype/property-diacritic-tests: Likewise. + * modules/unictype/property-extender-tests: Likewise. + * modules/unictype/property-format-control-tests: Likewise. + * modules/unictype/property-grapheme-base-tests: Likewise. + * modules/unictype/property-grapheme-extend-tests: Likewise. + * modules/unictype/property-grapheme-link-tests: Likewise. + * modules/unictype/property-hex-digit-tests: Likewise. + * modules/unictype/property-hyphen-tests: Likewise. + * modules/unictype/property-id-continue-tests: Likewise. + * modules/unictype/property-id-start-tests: Likewise. + * modules/unictype/property-ideographic-tests: Likewise. + * modules/unictype/property-ids-binary-operator-tests: Likewise. + * modules/unictype/property-ids-trinary-operator-tests: Likewise. + * modules/unictype/property-ignorable-control-tests: Likewise. + * modules/unictype/property-iso-control-tests: Likewise. + * modules/unictype/property-join-control-tests: Likewise. + * modules/unictype/property-left-of-pair-tests: Likewise. + * modules/unictype/property-line-separator-tests: Likewise. + * modules/unictype/property-logical-order-exception-tests: Likewise. + * modules/unictype/property-lowercase-tests: Likewise. + * modules/unictype/property-math-tests: Likewise. + * modules/unictype/property-non-break-tests: Likewise. + * modules/unictype/property-not-a-character-tests: Likewise. + * modules/unictype/property-numeric-tests: Likewise. + * modules/unictype/property-other-alphabetic-tests: Likewise. + * modules/unictype/property-other-default-ignorable-code-point-tests: + Likewise. + * modules/unictype/property-other-grapheme-extend-tests: Likewise. + * modules/unictype/property-other-id-continue-tests: Likewise. + * modules/unictype/property-other-id-start-tests: Likewise. + * modules/unictype/property-other-lowercase-tests: Likewise. + * modules/unictype/property-other-math-tests: Likewise. + * modules/unictype/property-other-uppercase-tests: Likewise. + * modules/unictype/property-paired-punctuation-tests: Likewise. + * modules/unictype/property-paragraph-separator-tests: Likewise. + * modules/unictype/property-pattern-syntax-tests: Likewise. + * modules/unictype/property-pattern-white-space-tests: Likewise. + * modules/unictype/property-private-use-tests: Likewise. + * modules/unictype/property-punctuation-tests: Likewise. + * modules/unictype/property-quotation-mark-tests: Likewise. + * modules/unictype/property-radical-tests: Likewise. + * modules/unictype/property-sentence-terminal-tests: Likewise. + * modules/unictype/property-soft-dotted-tests: Likewise. + * modules/unictype/property-space-tests: Likewise. + * modules/unictype/property-terminal-punctuation-tests: Likewise. + * modules/unictype/property-test-tests: Likewise. + * modules/unictype/property-titlecase-tests: Likewise. + * modules/unictype/property-unassigned-code-value-tests: Likewise. + * modules/unictype/property-unified-ideograph-tests: Likewise. + * modules/unictype/property-uppercase-tests: Likewise. + * modules/unictype/property-variation-selector-tests: Likewise. + * modules/unictype/property-white-space-tests: Likewise. + * modules/unictype/property-xid-continue-tests: Likewise. + * modules/unictype/property-xid-start-tests: Likewise. + * modules/unictype/property-zero-width-tests: Likewise. + * modules/unictype/scripts-tests: Likewise. + * modules/unictype/syntax-c-ident-tests: Likewise. + * modules/unictype/syntax-c-whitespace-tests: Likewise. + * modules/unictype/syntax-java-ident-tests: Likewise. + * modules/unictype/syntax-java-whitespace-tests: Likewise. + * modules/unilbrk/u8-possible-linebreaks-tests: Likewise. + * modules/unilbrk/u8-width-linebreaks-tests: Likewise. + * modules/unilbrk/u16-possible-linebreaks-tests: Likewise. + * modules/unilbrk/u16-width-linebreaks-tests: Likewise. + * modules/unilbrk/u32-possible-linebreaks-tests: Likewise. + * modules/unilbrk/u32-width-linebreaks-tests: Likewise. + * modules/unilbrk/ulc-possible-linebreaks-tests: Likewise. + * modules/unilbrk/ulc-width-linebreaks-tests: Likewise. + * modules/uniname/uniname-tests: Likewise. + * modules/uninorm/canonical-decomposition-tests: Likewise. + * modules/uninorm/compat-decomposition-tests: Likewise. + * modules/uninorm/composition-tests: Likewise. + * modules/uninorm/decomposing-form-tests: Likewise. + * modules/uninorm/decomposition-tests: Likewise. + * modules/uninorm/filter-tests: Likewise. + * modules/uninorm/nfc-tests: Likewise. + * modules/uninorm/nfd-tests: Likewise. + * modules/uninorm/nfkc-tests: Likewise. + * modules/uninorm/nfkd-tests: Likewise. + * modules/uninorm/u8-normcmp-tests: Likewise. + * modules/uninorm/u8-normcoll-tests: Likewise. + * modules/uninorm/u16-normcmp-tests: Likewise. + * modules/uninorm/u16-normcoll-tests: Likewise. + * modules/uninorm/u32-normcmp-tests: Likewise. + * modules/uninorm/u32-normcoll-tests: Likewise. + * modules/unistdio/u8-asnprintf-tests: Likewise. + * modules/unistdio/u8-vasnprintf-tests: Likewise. + * modules/unistdio/u8-vasprintf-tests: Likewise. + * modules/unistdio/u8-vsnprintf-tests: Likewise. + * modules/unistdio/u8-vsprintf-tests: Likewise. + * modules/unistdio/u16-asnprintf-tests: Likewise. + * modules/unistdio/u16-vasnprintf-tests: Likewise. + * modules/unistdio/u16-vasprintf-tests: Likewise. + * modules/unistdio/u16-vsnprintf-tests: Likewise. + * modules/unistdio/u16-vsprintf-tests: Likewise. + * modules/unistdio/u32-asnprintf-tests: Likewise. + * modules/unistdio/u32-vasnprintf-tests: Likewise. + * modules/unistdio/u32-vasprintf-tests: Likewise. + * modules/unistdio/u32-vsnprintf-tests: Likewise. + * modules/unistdio/u32-vsprintf-tests: Likewise. + * modules/unistdio/ulc-asnprintf-tests: Likewise. + * modules/unistdio/ulc-vasnprintf-tests: Likewise. + * modules/unistdio/ulc-vasprintf-tests: Likewise. + * modules/unistdio/ulc-vsnprintf-tests: Likewise. + * modules/unistdio/ulc-vsprintf-tests: Likewise. + * modules/unistr/u8-check-tests: Likewise. + * modules/unistr/u8-chr-tests: Likewise. + * modules/unistr/u8-cmp-tests: Likewise. + * modules/unistr/u8-cmp2-tests: Likewise. + * modules/unistr/u8-cpy-alloc-tests: Likewise. + * modules/unistr/u8-cpy-tests: Likewise. + * modules/unistr/u8-mblen-tests: Likewise. + * modules/unistr/u8-mbsnlen-tests: Likewise. + * modules/unistr/u8-mbtouc-tests: Likewise. + * modules/unistr/u8-mbtouc-unsafe-tests: Likewise. + * modules/unistr/u8-mbtoucr-tests: Likewise. + * modules/unistr/u8-move-tests: Likewise. + * modules/unistr/u8-next-tests: Likewise. + * modules/unistr/u8-prev-tests: Likewise. + * modules/unistr/u8-set-tests: Likewise. + * modules/unistr/u8-stpcpy-tests: Likewise. + * modules/unistr/u8-stpncpy-tests: Likewise. + * modules/unistr/u8-strcat-tests: Likewise. + * modules/unistr/u8-strcmp-tests: Likewise. + * modules/unistr/u8-strcoll-tests: Likewise. + * modules/unistr/u8-strcpy-tests: Likewise. + * modules/unistr/u8-strdup-tests: Likewise. + * modules/unistr/u8-strlen-tests: Likewise. + * modules/unistr/u8-strmblen-tests: Likewise. + * modules/unistr/u8-strmbtouc-tests: Likewise. + * modules/unistr/u8-strncat-tests: Likewise. + * modules/unistr/u8-strncmp-tests: Likewise. + * modules/unistr/u8-strncpy-tests: Likewise. + * modules/unistr/u8-strnlen-tests: Likewise. + * modules/unistr/u8-to-u16-tests: Likewise. + * modules/unistr/u8-to-u32-tests: Likewise. + * modules/unistr/u8-uctomb-tests: Likewise. + * modules/unistr/u16-check-tests: Likewise. + * modules/unistr/u16-chr-tests: Likewise. + * modules/unistr/u16-cmp-tests: Likewise. + * modules/unistr/u16-cmp2-tests: Likewise. + * modules/unistr/u16-cpy-alloc-tests: Likewise. + * modules/unistr/u16-cpy-tests: Likewise. + * modules/unistr/u16-mblen-tests: Likewise. + * modules/unistr/u16-mbsnlen-tests: Likewise. + * modules/unistr/u16-mbtouc-tests: Likewise. + * modules/unistr/u16-mbtouc-unsafe-tests: Likewise. + * modules/unistr/u16-mbtoucr-tests: Likewise. + * modules/unistr/u16-move-tests: Likewise. + * modules/unistr/u16-next-tests: Likewise. + * modules/unistr/u16-prev-tests: Likewise. + * modules/unistr/u16-set-tests: Likewise. + * modules/unistr/u16-stpcpy-tests: Likewise. + * modules/unistr/u16-stpncpy-tests: Likewise. + * modules/unistr/u16-strcat-tests: Likewise. + * modules/unistr/u16-strcmp-tests: Likewise. + * modules/unistr/u16-strcoll-tests: Likewise. + * modules/unistr/u16-strcpy-tests: Likewise. + * modules/unistr/u16-strdup-tests: Likewise. + * modules/unistr/u16-strlen-tests: Likewise. + * modules/unistr/u16-strmblen-tests: Likewise. + * modules/unistr/u16-strmbtouc-tests: Likewise. + * modules/unistr/u16-strncat-tests: Likewise. + * modules/unistr/u16-strncmp-tests: Likewise. + * modules/unistr/u16-strncpy-tests: Likewise. + * modules/unistr/u16-strnlen-tests: Likewise. + * modules/unistr/u16-to-u32-tests: Likewise. + * modules/unistr/u16-to-u8-tests: Likewise. + * modules/unistr/u16-uctomb-tests: Likewise. + * modules/unistr/u32-check-tests: Likewise. + * modules/unistr/u32-chr-tests: Likewise. + * modules/unistr/u32-cmp-tests: Likewise. + * modules/unistr/u32-cmp2-tests: Likewise. + * modules/unistr/u32-cpy-alloc-tests: Likewise. + * modules/unistr/u32-cpy-tests: Likewise. + * modules/unistr/u32-mblen-tests: Likewise. + * modules/unistr/u32-mbsnlen-tests: Likewise. + * modules/unistr/u32-mbtouc-tests: Likewise. + * modules/unistr/u32-mbtouc-unsafe-tests: Likewise. + * modules/unistr/u32-mbtoucr-tests: Likewise. + * modules/unistr/u32-move-tests: Likewise. + * modules/unistr/u32-next-tests: Likewise. + * modules/unistr/u32-prev-tests: Likewise. + * modules/unistr/u32-set-tests: Likewise. + * modules/unistr/u32-stpcpy-tests: Likewise. + * modules/unistr/u32-stpncpy-tests: Likewise. + * modules/unistr/u32-strcat-tests: Likewise. + * modules/unistr/u32-strcmp-tests: Likewise. + * modules/unistr/u32-strcoll-tests: Likewise. + * modules/unistr/u32-strcpy-tests: Likewise. + * modules/unistr/u32-strdup-tests: Likewise. + * modules/unistr/u32-strlen-tests: Likewise. + * modules/unistr/u32-strmblen-tests: Likewise. + * modules/unistr/u32-strmbtouc-tests: Likewise. + * modules/unistr/u32-strncat-tests: Likewise. + * modules/unistr/u32-strncmp-tests: Likewise. + * modules/unistr/u32-strncpy-tests: Likewise. + * modules/unistr/u32-strnlen-tests: Likewise. + * modules/unistr/u32-to-u16-tests: Likewise. + * modules/unistr/u32-to-u8-tests: Likewise. + * modules/unistr/u32-uctomb-tests: Likewise. + * modules/uniwbrk/u8-wordbreaks-tests: Likewise. + * modules/uniwbrk/u16-wordbreaks-tests: Likewise. + * modules/uniwbrk/u32-wordbreaks-tests: Likewise. + * modules/uniwbrk/ulc-wordbreaks-tests: Likewise. + * modules/uniwidth/u8-strwidth-tests: Likewise. + * modules/uniwidth/u8-width-tests: Likewise. + * modules/uniwidth/u16-strwidth-tests: Likewise. + * modules/uniwidth/u16-width-tests: Likewise. + * modules/uniwidth/u32-strwidth-tests: Likewise. + * modules/uniwidth/u32-width-tests: Likewise. + * modules/uniwidth/width-tests: Likewise. + +2010-05-18 Richard Jones + + doc: users.txt: list hivex + * users.txt: Add hivex. + +2010-05-18 Richard Jones + + doc: users.txt: list febootstrap + * users.txt: Add febootstrap. + +2010-05-17 Giuseppe Scrivano + + bootstrap: fix an error when gnulib is not used as a git submodule + * build-aux/bootstrap (gnulib_path): If its length is zero then + assign "gnulib" to it. + * build-aux/bootstrap: Redirect "git clone -h" stderr to stdout. + +2010-05-16 Bruno Haible + + Avoid autoconf warnings about AM_ICONV. + * m4/iconv.m4 (AM_ICONV): Define using AC_DEFUN_ONCE for autoconf >= + 2.64. + +2010-05-16 Bruno Haible + + absolute-header: Make the macro usable in more situations. + * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER_ONE): New macro, extracted + from gl_ABSOLUTE_HEADER. + (gl_ABSOLUTE_HEADER): Use it. Fix comment. + +2010-05-16 James Youngman + + doc: update users.txt + * users.txt: Add CSSC. + +2010-05-16 Jim Meyering + + init.sh: fix an error in the previous change; add more comments + * tests/init.sh: Compare exit code in loop against 9, not 2. + Patch by Bruno Haible. + Make the two tests more similar by adding an empty "then" clause. + Add comments. + + init.sh: avoid unnecessary shell re-exec + * tests/init.sh: Improve the re-exec-required check to first test the + current shell. If it passes the test, do not search for a shell that + does pass, and do not re-exec. This test is particularly contorted to + avoid triggering misbehavior in Solaris 10's /bin/sh whereby any use + of $(...) evokes a syntax error and causes immediate shell exit with + status 2. Bruno Haible reported that the re-exec made it impossible + to single-step through any init.sh-using script. + +2010-05-16 Bruno Haible + + Fix collision between gnulib's and libintl's printf replacements. + * lib/stdio.in.h (_GL_STDIO_STRINGIZE, + _GL_STDIO_MACROEXPAND_AND_STRINGIZE): New macros. + (printf): When using GNU C, map the __printf__ function to rpl_printf + via __asm__. When not using GNU C, define rpl_printf instead of + __printf__. + * lib/printf.c: Ignore DEPENDS_ON_LIBINTL. Undoes the 2010-03-25 + commit. + * lib/stdio-write.c: Ignore DEPENDS_ON_LIBINTL. Undoes the 2009-08-10 + commit. + * m4/asm-underscore.m4: New file. + * m4/stdio_h.m4 (gl_STDIO_H): Require gl_ASM_SYMBOL_PREFIX. + * modules/stdio (Files): Add m4/asm-underscore.m4. + (Makefile.am): Substitute ASM_SYMBOL_PREFIX. + Reported by Ben Pfaff. + +2010-05-16 Bruno Haible + + verify: Avoid skipping the test on openSUSE 11.0. + * tests/test-verify.sh: Unset MALLOC_PERTURB_. + +2010-05-13 Bruno Haible + + Avoid useless warnings from G++. + * build-aux/c++defs.h (_GL_CXXALIASWARN_2, _GL_CXXALIASWARN1_2): Don't + use _GL_WARN_ON_USE or _GL_WARN_ON_USE_CXX when optimizing. + Reported by Jarno Rajahalme . + +2010-05-11 Jim Meyering + + maint.mk: tweak preceding change + * top/maint.mk (gl_extract_significant_defines_): Make exclusion + regexps tighter by anchoring at EOL, and make the new group "shy" + for slightly decreased overhead. + +2010-05-11 Eric Blake + + maint.mk: gnulib doesn't guarantee NSIG + * top/maint.mk (gl_extract_significant_defines_): Exclude NSIG. + +2010-05-10 Peter O'Gorman + + test-pwrite.c: Remove unused variable declaration. + * tests/test-pwrite.c (main): Remove read_buf declaration. + + Remove useless test-pwrite.sh file. + * tests/test-pwrite.sh: Delete file. + * modules/pwrite-tests: Remove references. + Reported by Bruno Haible. + +2010-05-10 Peter O'Gorman + + init.sh: fix a typo + * tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization. + +2010-05-10 Jim Meyering + + maint.mk: avoid using a temporary file in the always-defined-macros check + * top/maint.mk (.re-defmac): Remove rule. + (gl_trap_): Remove definition. + (sc_prohibit_always-defined_macros): Rewrite not to create and + depend on a temporary file. Instead, depend on GNU grep's ability + to read a list of regular expressions from stdin when given "-f -". + +2010-05-09 Bruno Haible + + Update to GNU gettext 0.18, part 1. + * m4/gettext.m4: Update to GNU gettext 0.18. + * m4/intl.m4: Likewise. + * m4/po.m4: Likewise. + * modules/gettext (Files): Add m4/fcntl-o.m4. + (configure.ac): Require gettext infrastructure from version 0.18. + +2010-05-09 Jim Meyering + + init.sh: enable MALLOC_PERTURB_ + * tests/init.sh: Enable glibc's malloc-perturbing option. + + maint.mk: improve sc_cross_check_PATH_usage_in_tests + With my recent change in init.sh from the two-line form: + -# : ${srcdir=.} + -# . "$srcdir/init.sh"; path_prepend_ . + +# . "${srcdir=.}/init.sh"; path_prepend_ . + I noticed that using the one-line form would cause this test + to fail with a false-positive, or to stop working altogether, + depending on whether help-version changed or all the tests did. + * top/maint.mk (_hv_regex): Remove this definition. + (_hv_regex_weak): Use a weak regex to select all init.sh-sourcing files. + (_hv_regex_strong): Use a stronger regex to check for conformance. + (sc_cross_check_PATH_usage_in_tests): Rewrite to use the above. + Give a separate diagnostic for lack of conforming use. + + maint.mk: prohibit definition of symbols defined by gnulib + * top/maint.mk (sc_prohibit_always-defined_macros): Reject the + definition of symbols defined by gnulib. + +2010-05-09 Bruno Haible + + acl: Avoid test failure on Cygwin-hosted mingw. + * tests/test-set-mode-acl.sh: Skip test if USE_ACL is 0. + +2010-05-09 Bruno Haible + + error: Use system's fcntl function. + * lib/error.c (fcntl): Undefine. + +2010-05-09 Jim Meyering + + verify: adjust formatting to be more consistent + * lib/verify.h (_GL_GENSYM): Add a space before each of a few + argument-list '('s, and after one comma. + +2010-05-09 Bruno Haible + + error: More reliable output on mingw. + * lib/error.c: Include . + (is_open): New function. + (flush_stdout): Call it instead of fcntl, also if F_GETFL is not + defined. + +2010-05-09 Bruno Haible + + vasnprintf: Fix syntax errors in libintl build on mingw. + * lib/vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine + pad_ourselves and prec_ourselves after use. + +2010-05-08 Bruno Haible + + * lib/config.charset: Update comments for Cygwin 1.7. + * lib/localcharset.c: Likewise. + +2010-05-07 Jim Meyering + + init.sh: improve comments + * tests/init.sh: Recommend the one-line init.sh-sourcing idiom: + . "${srcdir=.}/init.sh"; path_prepend_ . + Add a note about path_prepend_ and the alternative of using + TESTS_ENVIRONMENT. + +2010-05-06 Sergey Poznyakoff + + exclude: Unescape hashed patterns in wildcard mode. + * lib/exclude.c (add_exclude): Unescape the pattern before adding it + to the hash list. + * tests/test-exclude8.sh: New test case. + * modules/exclude-tests: Add new test. + +2010-05-05 Eric Blake + + verify: automate tests + * modules/verify-tests: New module. + * tests/test-verify.sh: New file. + * tests/test-verify.c: Guard each negative test with a unique id. + Also avoid warning about unused left hand of comma expressions. + +2010-05-05 Paul Eggert + + Further improvements to verify.h, suggested by Eric Blake. + * lib/verify.h (_GL_CONCAT, _GL_CONCAT0, _GL_GENSYM): Renamed from + the GL_* versions, to avoid collision with OpenGL. + (_GL_COUNTER): New macro, so that we can fall back on __LINE__ if + __COUNTER__ doesn't work. Test that __COUNTER__ increments rather + than testing merely whether it's defined. + + Modify verify.h to pacify gcc -Wredundant_decls. + * lib/verify.h (GL_CONCAT, GL_CONCAT0, GL_GENSYM): New macros. + These use the prefix "GL_" since they're likely to be useful elsewhere. + We may need to break them out into a different .h file. + (__COUNTER__): Define to 0 if the compiler doesn't support it. + (verify) [!defined __cplusplus]: Use them to avoid duplicate decls + of verify_function__. + +2010-05-05 Peter O'Gorman + + Tests for module pwrite. + * modules/pwrite-tests: New file. + * tests/test-pwrite.sh: New file. + * tests/test-pwrite.c: New file. + + New module pwrite. + * lib/unistd.in.h (pwrite): New declaration. + * lib/pwrite.c: New file, from glibc with modifications. + * m4/pwrite.m4: New file. + * m4/unistd_h.m4 (gl_UNISTD_H): Test whether pwrite is declared. + (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_PWRITE, HAVE_PWRITE, + REPLACE_PWRITE. + * modules/pwrite: New file. + * modules/unistd (Makefile.am): Substitute GNULIB_PWRITE, HAVE_PWRITE, + REPLACE_PWRITE. + * tests/test-unistd-c++.cc: Check GNULIB_NAMESPACE::pwrite. + * doc/posix-functions/pwrite.texi: Mention the new module. + +2010-05-05 Peter O'Gorman + + pread: Update documentation. + * doc/posix-functions/pread.texi: Mention the 'pread' module. + +2010-05-04 Eric Blake + + docs: update cygwin progress + * doc/posix-functions/wctob.texi (wctob): Cygwin 1.7.6 will fix + this bug. + * doc/glibc-functions/get_nprocs_conf.texi (get_nprocs_conf): + Added in cygwin 1.7.2. + * doc/glibc-functions/get_phys_pages.texi (get_phys_pages): + Likewise. + * doc/glibc-functions/get_avphys_pages.texi (get_avphys_pages): + Likewise. + * doc/glibc-functions/dup3.texi (dup3): Likewise. + * doc/glibc-functions/pipe2.texi (pipe2): Likewise. + * doc/glibc-functions/accept4.texi (accept4): Likewise. + * doc/posix-functions/strfmon.texi (strfmon): Likewise. + * doc/glibc-functions/get_nprocs.texi (get_nprocs): Likewise. + Mention nproc module. + * doc/glibc-functions/xdr_uint16_t.texi (xdr_uint16_t): Mention + bug in cygwin 1.7.5 addition. + * doc/glibc-functions/xdr_uint32_t.texi (xdr_uint32_t): Likewise. + * doc/glibc-functions/xdr_uint64_t.texi (xdr_uint64_t): Likewise. + * doc/glibc-functions/xdr_uint8_t.texi (xdr_uint8_t): Likewise. + * doc/glibc-functions/xdr_array.texi (xdr_array): Added in cygwin + 1.7.5. + * doc/glibc-functions/xdr_bool.texi (xdr_bool): Likewise. + * doc/glibc-functions/xdr_bytes.texi (xdr_bytes): Likewise. + * doc/glibc-functions/xdr_char.texi (xdr_char): Likewise. + * doc/glibc-functions/xdr_double.texi (xdr_double): Likewise. + * doc/glibc-functions/xdr_enum.texi (xdr_enum): Likewise. + * doc/glibc-functions/xdr_float.texi (xdr_float): Likewise. + * doc/glibc-functions/xdr_free.texi (xdr_free): Likewise. + * doc/glibc-functions/xdr_hyper.texi (xdr_hyper): Likewise. + * doc/glibc-functions/xdr_int.texi (xdr_int): Likewise. + * doc/glibc-functions/xdr_int16_t.texi (xdr_int16_t): Likewise. + * doc/glibc-functions/xdr_int32_t.texi (xdr_int32_t): Likewise. + * doc/glibc-functions/xdr_int64_t.texi (xdr_int64_t): Likewise. + * doc/glibc-functions/xdr_int8_t.texi (xdr_int8_t): Likewise. + * doc/glibc-functions/xdr_long.texi (xdr_long): Likewise. + * doc/glibc-functions/xdr_longlong_t.texi (xdr_longlong_t): + Likewise. + * doc/glibc-functions/xdr_netobj.texi (xdr_netobj): Likewise. + * doc/glibc-functions/xdr_opaque.texi (xdr_opaque): Likewise. + * doc/glibc-functions/xdr_pointer.texi (xdr_pointer): Likewise. + * doc/glibc-functions/xdr_reference.texi (xdr_reference): + Likewise. + * doc/glibc-functions/xdr_short.texi (xdr_short): Likewise. + * doc/glibc-functions/xdr_sizeof.texi (xdr_sizeof): Likewise. + * doc/glibc-functions/xdr_string.texi (xdr_string): Likewise. + * doc/glibc-functions/xdr_u_char.texi (xdr_u_char): Likewise. + * doc/glibc-functions/xdr_u_hyper.texi (xdr_u_hyper): Likewise. + * doc/glibc-functions/xdr_u_int.texi (xdr_u_int): Likewise. + * doc/glibc-functions/xdr_u_long.texi (xdr_u_long): Likewise. + * doc/glibc-functions/xdr_u_longlong_t.texi (xdr_u_longlong_t): + Likewise. + * doc/glibc-functions/xdr_u_short.texi (xdr_u_short): Likewise. + * doc/glibc-functions/xdr_union.texi (xdr_union): Likewise. + * doc/glibc-functions/xdr_vector.texi (xdr_vector): Likewise. + * doc/glibc-functions/xdr_void.texi (xdr_void): Likewise. + * doc/glibc-functions/xdr_wrapstring.texi (xdr_wrapstring): + Likewise. + * doc/glibc-functions/xdrmem_create.texi (xdrmem_create): + Likewise. + * doc/glibc-functions/xdrrec_create.texi (xdrrec_create): + Likewise. + * doc/glibc-functions/xdrrec_endofrecord.texi + (xdrrec_endofrecord): Likewise. + * doc/glibc-functions/xdrrec_eof.texi (xdrrec_eof): Likewise. + * doc/glibc-functions/xdrrec_skiprecord.texi (xdrrec_skiprecord): + Likewise. + * doc/glibc-functions/xdrstdio_create.texi (xdrstdio_create): + Likewise. + 2010-05-04 Jim Meyering gendocs.sh: make its "-s FILE" option more useful