Remove useless test-pwrite.sh file.
[gnulib.git] / ChangeLog
index 0ec11b9..dcf8cf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,259 @@
+2010-05-10  Peter O'Gorman  <pogma@thewrittenword.com>
+
+       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  <pogma@thewrittenword.com>
+
+       init.sh: fix a typo
+       * tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization.
+
+2010-05-10  Jim Meyering  <meyering@redhat.com>
+
+       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  <bruno@clisp.org>
+
+       Update to GNU gettext 0.18.
+       * m4/gettext.m4: Update to GNU gettext 0.17.
+       * 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  <meyering@redhat.com>
+
+       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  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
+
+       error: Use system's fcntl function.
+       * lib/error.c (fcntl): Undefine.
+
+2010-05-09  Jim Meyering  <meyering@redhat.com>
+
+       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  <bruno@clisp.org>
+
+       error: More reliable output on mingw.
+       * lib/error.c: Include <windows.h>.
+       (is_open): New function.
+       (flush_stdout): Call it instead of fcntl, also if F_GETFL is not
+       defined.
+
+2010-05-09  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
+
+       * lib/config.charset: Update comments for Cygwin 1.7.
+       * lib/localcharset.c: Likewise.
+
+2010-05-07  Jim Meyering  <meyering@redhat.com>
+
+       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  <gray@gnu.org.ua>
+
+       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  <eblake@redhat.com>
+
+       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  <eggert@cs.ucla.edu>
+
+       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  <pogma@thewrittenword.com>
+
+       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  <pogma@thewrittenword.com>
+
+       pread: Update documentation.
+       * doc/posix-functions/pread.texi: Mention the 'pread' module.
+
+2010-05-04  Eric Blake  <eblake@redhat.com>
+
+       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  <meyering@redhat.com>
+
+       gendocs.sh: make its "-s FILE" option more useful
+       * build-aux/gendocs.sh: When honoring the -s FILE option, update
+       $PACKAGE to reflect the probably-different basename of "FILE".
+
+2010-05-03  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       bootstrap: don't ignore download_po_files failure
+       * build-aux/bootstrap (update_po_files): Don't ignore download_po_files
+       failure.
+
 2010-05-03  Jim Meyering  <meyering@redhat.com>
 
+       maint.mk: allow to pass options to gendocs.sh
+       * top/maint.mk (web-manual): Pass gendocs_options_ to gendocs.sh.
+       (gendocs_options_): New overridable variable.
+
+       gnu-web-doc-update: don't ignore configure or build failure
+       * build-aux/gnu-web-doc-update: Exit nonzero upon internal failure.
+
+       announce-gen: backslash-escape '@'s in --help output
+       * build-aux/announce-gen: Fix syntax errors.
+
+       maint.mk, announce-gen: allow project-specific announcement mail headers
+       * top/maint.mk (translation_project_): Define default.
+       (announcement_Cc_, announcement_mail_headers_): Likewise.
+       (announcement): Invoke announce-gen with new --mail-headers option.
+       * build-aux/announce-gen: New option: --mail-headers=HEADERS.
+
        test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11
        * tests/test-xalloc-die.sh: Redirect stdout before stderr, (i.e.,
        "> out 2> err", rather than "2> err > out").  Otherwise, with /bin/sh