doc fixes to srclist*
[gnulib.git] / ChangeLog
index 995ac87..6ff91cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,287 @@
+2010-04-07  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt,
+       * config/srclistvars.sh,
+       * config/srclist-update: doc fixes.
+
+2010-04-07  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: add a PATH crosschecking syntax-check rule
+       * top/maint.mk (sc_cross_check_PATH_usage_in_tests): New rule.
+       Useful if you use a test like the one in help-version (coreutils,
+       diffutils, grep, gzip) that ensures $(VERSION) matches what is
+       printed by prog --version.
+
+2010-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix link error on mingw.
+       * modules/unistd-c++-tests (test_unistd_c___LDADD): Add LIBSOCKET.
+       * modules/fcntl-h-c++-tests (test_fcntl_h_c___LDADD): Likewise.
+
+2010-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Assume rmdir exists.
+       * lib/rmdir.c (rpl_rmdir): Remove code that invokes the rmdir program.
+
+2010-04-06  Giuseppe Scrivano <gscrivano@gnu.org>
+
+       doc: update users.txt
+       * users.txt: Add gcal.
+
+2010-04-06  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: simply unset TMPDIR rather than risking env -i
+       * tests/init.sh (mktempd_): Using env -i is rather harsh, and
+       although it probably works fine on all Unix-based systems, some
+       systems (Cygwin?) cannot tolerate a totally cleared environment.
+       Suggestion from Eric Blake.
+
+2010-04-06  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: portability fix: use env's POSIX-specified -i option not -u
+       * tests/init.sh (mktempd_): Use env -i and set PATH explicitly rather
+       than unportable env -u.  Solaris 5.11's env lacks support for -u.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       btowc: Work around Cygwin 1.7.2 bug.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Set REPLACE_BTOWC to 1 if the function
+       does not map NUL to 0.
+       * doc/posix-functions/btowc.texi: Mention the Cygwin bug.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Make the multithread modules work on Cygwin 1.7.2.
+       * m4/threadlib.m4 (gl_THREADLIB_BODY): Improve the test whether
+       imported symbols can be declared weak, so that it returns "no" on
+       Cygwin 1.7.2.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Use the module 'strncat'.
+       * modules/unistr/u8-strncat (Depends-on): Add strncat.
+
+       Tests for module 'strncat'.
+       * modules/strncat-tests: New file.
+       * tests/test-strncat.c: New file.
+
+       New module 'strncat'.
+       * lib/string.in.h (strncat): New declaration.
+       * lib/strncat.c: New file, based on lib/unistr/u-strncat.h.
+       * m4/strncat.m4: New file, based on m4/memchr.m4.
+       * modules/strncat: New file.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Also check whether strncat
+       is declared.
+       (gl_HEADER_STRING_H_DEFAULTS): Initialize GNULIB_STRNCAT,
+       REPLACE_STRNCAT.
+       * modules/string (Makefile.am): Substitute GNULIB_STRNCAT,
+       REPLACE_STRNCAT.
+       * doc/posix-functions/strncat.texi: Mention the Solaris bug and the new
+       module.
+       * tests/test-string-c++.cc: Check signature of strncat.
+
+2010-04-05  Jim Meyering  <meyering@redhat.com>
+
+       xstrtoumax-tests: convert to use init.sh
+       * modules/xstrtoumax-tests (Files): Add tests/init.sh.
+       * tests/test-xstrtoumax.sh: Invoke "$srcdir/init.sh" and path_prepend_.
+       Use Exit, not exit.
+       Remove uses of $EXEEXT and "./" to run a program in the current dir.
+
+       xstrtoimax-tests: convert to use init.sh
+       * modules/xstrtoimax-tests (Files): Add tests/init.sh.
+       * tests/test-xstrtoimax.sh: Invoke "$srcdir/init.sh" and path_prepend_.
+       Use Exit, not exit.
+       Remove uses of $EXEEXT and "./" to run a program in the current dir.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       sys_socket: Avoid #define replacements in C++ mode.
+       * lib/sys_socket.in.h (close, gethostname, select): In C++, attach a
+       warning to the function if possible, rather than #defining the symbol
+       to a dysfunctional alias.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       fseeko: Fix C++ test error on mingw.
+       * m4/fseeko.m4 (gl_HAVE_FSEEKO): New macro, extracted from
+       gl_FUNC_FSEEKO.
+       (gl_REPLACE_FSEEKO): Also set REPLACE_FSEEKO if appropriate.
+       (gl_FUNC_FSEEKO): Require gl_HAVE_FSEEKO. Update.
+       * m4/fflush.m4 (gl_REPLACE_FFLUSH): Don't fiddle with internals of the
+       fseeko module. Instead, invoke gl_REPLACE_FSEEKO.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       duplocale: Improve test output.
+       * tests/test-duplocale.c (main): Print reason for skipped test.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Assume rmdir exists.
+       * m4/rmdir.m4 (gl_FUNC_RMDIR): Remove test whether rmdir exists.
+       * doc/posix-functions/rmdir.texi: Remove mention of "old platforms".
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Fix link error on Solaris 8 with cc.
+       * modules/pty-c++-tests (test_pty_c___LDADD): Add LIBINTL.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       frexpl: Fix a C++ test error on Solaris 8 and Cygwin.
+       * lib/math.in.h (frexpl): Fix condition on _GL_CXXALIASWARN invocation.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       vasprintf: Update documentation.
+       * doc/glibc-functions/asprintf.texi: Mention the 'vasprintf' module.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       ptsname: Improve test.
+       * tests/test-ptsname.c (main): Also try the various master names of BSD
+       systems.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       memchr: Avoid a possible C++ test error.
+       * lib/string.in.h (memchr): Provide declaration if function is missing.
+       * m4/memchr.m4 (gl_FUNC_MEMCHR): If the function is missing, set
+       HAVE_MEMCHR to 0, not REPLACE_MEMCHR to 1.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Initialize HAVE_MEMCHR.
+       * modules/string (Makefile.am): Substitute HAVE_MEMCHR.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       strtok_r: Improve idiom.
+       * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Invoke gl_PREREQ_STRDUP only when
+       AC_LIBOBJ is used.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       strdup: Improve idiom.
+       * m4/strdup.m4 (gl_FUNC_STRDUP): Invoke gl_PREREQ_STRDUP only when
+       AC_LIBOBJ is used.
+       (gl_FUNC_STRDUP_POSIX): When strdup is missing and malloc is not POSIX
+       compliant, don't set REPLACE_STRDUP to 1. Invoke gl_PREREQ_STRDUP only
+       when AC_LIBOBJ is used.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       mbsinit, mbrtowc, wcrtomb: Improve idioms.
+       * m4/mbsinit.m4 (gl_FUNC_MBSINIT): When the function does not exist,
+       don't set REPLACE_MBSINIT to 1.
+       * m4/mbrtowc.m4 (gl_FUNC_MBRTOWC): When the function does not exist,
+       don't set REPLACE_MBRTOWC to 1.
+       * m4/mbsrtowcs.m4 (gl_FUNC_MBSRTOWCS): When the function does not
+       exist, don't set REPLACE_MBSRTOWCS to 1.
+       * m4/mbsnrtowcs.m4 (gl_FUNC_MBSNRTOWCS): When the function does not
+       exist, don't set REPLACE_MBSNRTOWCS to 1.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): When the function does not exist,
+       don't set REPLACE_WCRTOMB to 1.
+       * m4/wcsrtombs.m4 (gl_FUNC_WCSRTOMBS): When the function does not
+       exist, don't set REPLACE_WCSRTOMBS to 1.
+       * m4/wcsnrtombs.m4 (gl_FUNC_WCSNRTOMBS): When the function does not
+       exist, don't set REPLACE_WCSNRTOMBS to 1.
+
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+       ldexpl: Improve idiom.
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL): When the function is not declared,
+       make sure to set HAVE_DECL_LDEXPL to 0.
+
+2010-04-05  Jim Meyering  <meyering@redhat.com>
+
+       xstrtol-tests: convert to use init.sh
+       * modules/xstrtol-tests (Files): Add tests/init.sh.
+       * tests/test-xstrtol.sh: Invoke "$srcdir/init.sh" and path_prepend_.
+       Use Exit, not exit.
+       Remove uses of $EXEEXT and "./" to run a program in the current dir.
+
+       atexit-tests: convert to use init.sh
+       * modules/atexit-tests (Files): Add tests/init.sh.
+       * tests/test-atexit.sh: Invoke "$srcdir/init.sh" and path_prepend_.
+       Use Exit, not exit.
+       Remove uses of $EXEEXT and "./" to run a program in the current dir.
+
+       init.sh: fix typo
+       * tests/init.sh: Restore omitted ":" before stderr_fileno_ initialization.
+
+       init.sh: make it easier for a test script to write to the tty, ...
+       when using automake's parallel-tests mode.
+       * tests/init.sh (stderr_fileno_): Define overridable variable.
+       (warn_): New function, to use it.
+       (fail_, skip_, framework_failure_): Use warn_.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       btowc: Avoid warning.
+       * lib/btowc.c: Include <stdlib.h>.
+       Reported by Hauke Fath <hauke@espresso.rhein-neckar.de>.
+
+2010-04-04  Hauke Fath  <hauke@espresso.rhein-neckar.de>  (tiny change)
+            Bruno Haible  <bruno@clisp.org>
+
+       wchar: Port to NetBSD 1.5.
+       * lib/wchar.in.h (WEOF): Provide fallback also when wint_t exists.
+       * lib/wctype.in.h (WEOF): Likewise.
+
+2010-04-04  Hauke Fath  <hauke@espresso.rhein-neckar.de>  (tiny change)
+            Bruno Haible  <bruno@clisp.org>
+
+       Port extended stdio to NetBSD 1.5.
+       * lib/stdio-impl.h [NetBSD]: Include <sys/param.h>.
+       (struct __sfileext, fp_ub): Define the "old way" for NetBSD 1.5Z and
+       older.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       string: Remove unused substitution.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Don't initialize
+       HAVE_DECL_STRERROR.
+       * modules/string (Makefile.am): Don't substitute HAVE_DECL_STRERROR.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       strtod: Avoid a possible C++ test error.
+       * m4/strtod.m4 (gl_FUNC_STRTOD): When setting HAVE_STRTOD to 0, don't
+       set REPLACE_STRTOD.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       strerror: Update documentation.
+       * doc/posix-functions/strerror.texi: Remove mention of old platforms.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       stdio: Fix some C++ test errors on Solaris 8 with GCC.
+       * lib/stdio.in.h (vdprintf, vfprintf, vprintf, vsprintf): Use
+       _GL_CXXALIAS_SYS_CAST.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       frexpl: Fix a C++ test error on Solaris 8 and Cygwin.
+       * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): When the
+       function is not declared, set HAVE_DECL_FREXPL to 0, instead of setting
+       REPLACE_FREXPL to 1.
+       * doc/posix-functions/frexpl.texi: Update documentation.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       math: Fix some C++ test errors on Solaris 8 and Cygwin.
+       * lib/math.in.h (cosl, logl, sinl): Use simpler idiom.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       Implement nanosleep for native Windows.
+       * lib/nanosleep.c (nanosleep): New implementation for native Windows.
+
+2010-04-04  Bruno Haible  <bruno@clisp.org>
+
+       math: Fix some C++ test errors on Solaris 8.
+       * lib/math.in.h (truncf, trunc): Use simpler idiom.
+
 2010-04-04  Bruno Haible  <bruno@clisp.org>
 
        math: Fix some C++ test errors on Cygwin.