top/maint.mk (sc_avoid_if_before_free): Except useless-if-before-free script.
[pspp] / ChangeLog
index bdb3e2f9a033c2c9dfe9d456b1f38906653e8ae3..3126a87d7828d952ccca04ae316a709139c53cdd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,310 @@
+2009-04-27  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_avoid_if_before_free): Except
+       useless-if-before-free script.
+
+2009-04-27  Eric Blake  <ebb9@byu.net>
+
+       maintainer-makefile: depend on all required helper scripts
+       * modules/maintainer-makefile (Depends-on): Add vc-list-files and
+       useless-if-before-free.
+       * top/maint.mk (VC_LIST, sc_avoid_if_before_free): Use local
+       version, rather than assuming gnulib checkout is available.
+       Reported by Simen Josefsson.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
+       * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Ignore paths that end in
+       "../" or "..".
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Accept a fifth argument.
+       * m4/libsigsegv.m4 (gl_LIBSIGSEGV): Simplify by using
+       AC_LIB_HAVE_LINKFLAGS.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_from_encoding.
+       * lib/uniconv.h (u8_conv_from_encoding, u16_conv_from_encoding,
+       u32_conv_from_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Likewise.
+       * lib/uniconv/u-conv-from-enc.h (FUNC): Likewise.
+       * lib/uniconv/u-strconv-from-enc.h (FUNC): Update.
+       * lib/unicase/ulc-casecmp.c (ulc_u8_casefold): Update.
+       * lib/unicase/ulc-casexfrm.c (ulc_casexfrm): Update.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Update.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Update.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-from-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_to_encoding.
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Preserve errno while
+       freeing scaled_offsets if mem_iconveha failed.
+       * lib/unicase/u-casexfrm.h (FUNC): Update.
+       * lib/uninorm/u-normxfrm.h (FUNC): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-to-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on AIX and OSF/1.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Avoid calling
+       malloc(0).
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Likewise.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Likewise.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Fix memory leak.
+       * lib/unistr/u-cpy-alloc.h (FUNC): Call malloc(1) instead of malloc(0).
+       * doc/posix-functions/malloc.texi: Document the portability problem
+       related to malloc(0).
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/u8-cpy-alloc (Depends-on): Add malloc-posix.
+       * modules/unistr/u16-cpy-alloc (Depends-on): Likewise.
+       * modules/unistr/u32-cpy-alloc (Depends-on): Likewise.
+
+2009-04-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link error when creating a namespace clean library.
+       * lib/math.in.h (gl_signbitf, gl_signbitd, gl_signbitl): Don't define
+       as macro with arguments if already defined as an alias.
+       * lib/signbitf.c (gl_signbitf): Don't undefine.
+       * lib/signbitd.c (gl_signbitd): Don't undefine.
+       * lib/signbitl.c (gl_signbitl): Don't undefine.
+
+2009-04-25  Jim Meyering  <meyering@redhat.com>
+
+       vc-list-files: fix another quoting bug
+       * build-aux/vc-list-files: Avoid sed backslash expansion
+       of pathological directory names.
+
+2009-04-25  Eric Blake  <ebb9@byu.net>
+
+       vc-list-files: fix shell quoting error
+       * build-aux/vc-list-files: Protect against $ in $dir.  Normalize
+       timestamp.
+
+2009-04-25  Jim Meyering  <meyering@redhat.com>
+
+       vc-list-files: restore lost functionality with subdir argument
+       * build-aux/vc-list-files: When given a non-"." sub-directory
+       argument, substitute the $dir/ prefix back onto each resulting name.
+       Otherwise, coreutils' root_tests check would fail.
+
+2009-04-24  Eric Blake  <ebb9@byu.net>
+
+       vc-list-files: ignore git symlinks
+       * build-aux/vc-list-files (.git): Use ls-tree and a filter, rather
+       than ls-files, to ignore git symlinks.
+
+       maint.mk: import improvements from m4
+       * top/maint.mk (VC-tag): Use signing key from cfg.mk.
+       (move_if_change): Delete unused macro.
+       (news-date-check, vc-diff-check): Support VPATH builds.
+       (announcement): Likewise.  Split --bootstrap-tools list...
+       (boostrap-tools): ...into separate list, which can be overridden
+       in cfg.mk.
+       (sc_avoid_if_before_free): Point to $(gnulib_dir), rather than
+       requiring dependency on useless-if-before-free module.
+       (VC_LIST, VC_LIST_EXCEPT): Likewise for vc-list-files module.
+       Support VPATH builds.
+
+2009-04-24  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: remove coreutils-specific rules and variables
+       * top/maint.mk (bin, taint-distcheck, coreutils-path-check, t): Remove.
+       (fake_home, install-transform-check, my-instcheck, pfx, TMPDIR): Remove.
+       (t_prefix, t_taint, tp, warn_cflags, write_loser, my-distcheck): Remove.
+
+       maint.mk: remove obsolete rule
+       * top/maint.mk (rel-check): Remove rule.
+       (WGET, WGETFLAGS): Remove now-unused variables.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (makefile-check): Renamed to sc_makefile_check for
+       consistency.
+
+       * modules/vc-list-files-tests (TESTS_ENVIRONMENT): Use
+       '$(PATH_SEPARATOR)' instead of ':'.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/getopt1.c (main): Use 'const' for static array.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk: Sync with coreutils.
+       * NEWS: Explain incompatibilities.
+
+2009-04-22  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix cross-compilation results.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Use no-op statement, rather than empty
+       statement, as third argument of AC_TRY_RUN.
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_SANITYCHECK,
+       gl_MBRTOWC_NULL_ARG, gl_MBRTOWC_RETVAL, gl_MBRTOWC_NUL_RETVAL):
+       Likewise.
+       * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
+       * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION, gl_WCSRTOMBS_NULL):
+       Likewise.
+       * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise. Update for AIX 4.3.
+       * doc/posix-functions/wcrtomb.texi: Mention the bug on AIX 4.3.
+
+2009-04-20  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure on mingw.
+       * tests/uniwidth/test-uc_width2.sh: Convert newlines in output.
+
+2009-04-20  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error on mingw.
+       * modules/localename-tests (Depends-on): Add locale.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       Support for building a shared library on Windows platforms.
+       * tests/uninorm/test-nfc.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFC here.
+       * tests/uninorm/test-nfd.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFD here.
+       * tests/uninorm/test-nfkc.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFKC here.
+       * tests/uninorm/test-nfkd.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFKD here.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       Avoid a compiler warning.
+       * tests/uninorm/test-u32-normalize-big.c (read_normalization_test_file):
+       Change type of variable 'sequence'.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/configmake (Makefile.am): When the contents of configmake.h
+       does not change, arrange to preserve its modification time.
+
+2009-04-17  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (PO_DOMAIN): New variable, allows overriding of
+       gettext domain.
+
+2009-04-16  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: improve conversion code
+       * build-aux/useless-if-before-free: Adjust code-in-comment to match
+       "...!= 0" as well as "...!= NULL".  emacs has one of the former.
+
+2009-04-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fcntl (Depends-on): Add extensions.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Add a comment.
+
+2009-04-12  Ben Pfaff  <blp@gnu.org>
+
+       Make fcntl module detect O_NOATIME, O_NOFOLLOW on GNU/Linux.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Require AC_USE_SYSTEM_EXTENSIONS.
+
+2009-03-20  Ben Pfaff  <blp@gnu.org>
+
+       Make rename replace existing destinations on Windows.
+       * m4/rename.m4: Add test for Mingw.
+       * lib/rename.c: Add rename replacement that uses MoveFileEx with
+       MOVEFILE_REPLACE_EXISTING to replace existing destination files.
+       * doc/posix-functions/rename.texi: Document.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       New include file "iconveh.h".
+       * lib/iconveh.h: New file, extracted from lib/striconveh.h.
+       * lib/striconveh.h: Include it.
+       (enum iconv_ilseq_handler): Remove definition.
+       * lib/striconveha.h: Include <stddef.h> and iconveh.h instead of
+       striconveh.h.
+       * lib/striconveha.c: Include striconveh.h.
+       * lib/uniconv.h: Include iconveh.h instead of striconveh.h.
+       * modules/striconveh (Files): Add lib/iconveh.h.
+       * modules/uniconv/base (Files): Add lib/iconveh.h. Remove
+       lib/striconveh.h.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/uniconv.h: Update comment.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u8-mbtouc-aux.c: Inside libunistring, define the function
+       always.
+       * lib/unistr/u8-mbtouc-unsafe-aux.c: Likewise.
+       * lib/unistr/u16-mbtouc-aux.c: Likewise.
+       * lib/unistr/u16-mbtouc-unsafe-aux.c: Likewise.
+       * lib/unistr/u8-mbtouc.c: Inside libunistring, include
+       "unistring-notinline.h", so that the function gets defined always.
+       * lib/unistr/u8-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u8-uctomb.c: Likewise.
+       * lib/unistr/u16-mbtouc.c: Likewise.
+       * lib/unistr/u16-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u16-uctomb.c: Likewise.
+       * lib/unistr/u32-mbtouc.c: Likewise.
+       * lib/unistr/u32-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u32-uctomb.c: Likewise.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       Mark 'utime' obsolete.
+       * modules/utime (Status, Notice): New sections.
+       Suggested by Jim Meyering.
+
+       Fix cross-compile guess for utime test.
+       * m4/utime.m4 (AC_FUNC_UTIME_NULL): Add definition from newest unstable
+       autoconf.
+       * doc/posix-functions/utime.texi: Give more precisions.
+       Reported by Jan <ipif@ymail.com>.
+
+2009-04-09  Kamil Dudka  <kdudka@redhat.com>
+
+       filevercmp: correct today's change
+       * lib/filevercmp.c: Also handle coreutils' test inputs.
+       * tests/test-filevercmp.c: Add inputs from one of coreutils' test scripts.
+
+       Fix regression in 'filevercmp' module. Thanks Sven Joachim
+       for reporting it.
+       * lib/filevercmp.c: Special handle for "", "." and "..".
+       * tests/test-filevercmp.c: Enlarge the set suite.
+
+2009-04-07  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: show how to remove braced useless free, too
+       * build-aux/useless-if-before-free: still only in a comment, though.
+
+2009-04-07  Reuben Thomas  <rrt@sc3d.org>
+
+       maint.mk: import changes to syntax-check macros from coreutils
+       * top/maint.mk (_prohibit_regexp, _header_without_use): Define.
+       Use them in the relevant macros.
+
 2009-04-06  Bruno Haible  <bruno@clisp.org>
 
        Fix unportable use of bit-fields.