X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=efb3a7782a16d96b839ba11f6301e9385610957b;hb=deb76fe23dcf27a67ec00295494c7c4728e3b110;hp=2d4f282f0b9d75478109188d93e0a03bf724c1b1;hpb=a9c53428e9ec1fd0f085fd197027abc727c3a59f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 2d4f282f0..efb3a7782 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,694 @@ +2009-06-08 Bruno Haible + + Tests for module 'idpriv-drop'. + * modules/idpriv-drop-tests: New file. + * tests/test-idpriv-drop.sh: New file. + * tests/test-idpriv-drop.su.sh: New file. + * tests/test-idpriv-drop.c: New file. + + New module 'idpriv-drop'. + * lib/idpriv.h: New file. + * lib-idpriv-drop.c: New file. + * m4/idpriv.m4: New file. + * modules/idpriv-drop: New file. + +2009-06-08 Bruno Haible + + * modules/unistdio/u8-vasnprintf (Depends-on): Add memchr. + * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise. + +2009-06-08 Eric Blake + + test-strstr: use memory fence, when possible + * tests/test-strstr.c (main): Use memory fence, in order to be + more likely to trigger Debian bug 521737. + * modules/strstr-tests (Files): Pull in additional files. + + memchr: no longer obsolete, for wider field testing + * modules/memchr (Status, Notice): Delete, this module is no + longer obsolete. + * modules/vasnprintf (Depends-on): Add memchr. + +2009-06-07 Jim Meyering + + hash: declare some functions with the warn_unused_result attribute + * lib/hash.h (__attribute__, ATTRIBUTE_WUR): Define. + +2009-06-07 Bruno Haible + + * tests/test-alignof.c: Don't test int64_t if it does not exist. + Reported by Eric Blake. + +2009-06-06 Eric Blake + + test-alignof: fix typo with long double + * tests/test-alignof.c (CHECK): Use longdouble typedef to avoid + compiler error. + +2009-06-06 Neil Jerram (tiny change) + + Escape non-texinfo { and }s. + * doc/ld-output-def.texi (Visual Studio Compatibility): Fix + markup error. + +2009-06-04 Jim Meyering + + gitlog-to-changelog: don't infloop on an empty commit log + * build-aux/gitlog-to-changelog: Warn about an empty log message. + Reported by Boris Petersen . + +2009-06-03 Mike Frysinger + + version-etc: extend for packagers + Add three new configure options, intended for packagers: + --with-packager="packager name" + --with-packager-version="packager-specific version" + --with-packager-bug-reports="packager bug reporting" + An example with coreutils: + $ ./configure \ + --with-packager=Gentoo \ + --with-packager-bug-report=http://bugs.gentoo.org/ \ + --with-packager-version="patchset 1.6" + $ ./src/ls --version | head -n3 + ls (GNU coreutils) 7.1-dirty + Packaged by Gentoo (patchset 1.6) + Copyright (C) 2009 Free Software Foundation, Inc. + Note that the bug reporting info via --help doesn't show up because + coreutils uses its own custom emit_bug_reporting_address() implementation + in src/system.h. If it didn't, it'd look like: + $ ./src/ls --help | tail -n4 + Report bugs to . + Report Gentoo bugs to . + GNU coreutils home page: . + General help using GNU software: . + * lib/version-etc.c: Print new information, if provided. + * m4/version-etc.m4: New file. + * modules/version-etc (Files): Add m4/version-etc.m4. + (configure.ac): Add gl_VERSION_ETC. + +2009-05-31 Bruno Haible + + * tests/test-alignof.c: Include . Check also 'long double' + and 'int64_t'. + * modules/alignof-tests (Dependencies): Add stdint. + Reported by Eric Blake. + +2009-05-31 Bruno Haible + + * lib/alignof.h (alignof_slot, alignof_type, alignof): Document + restriction due to compiler bugs. + Reported by Eric Blake. + +2009-05-31 Simon Josefsson + Bruno Haible + + Fix test-alignof failure. + * lib/alignof.h (alignof_slot): New macro. + (alignof_type): New macro, with the same semantics as the previous + 'alignof'. + (alignof): Alias to alignof_slot. + * tests/test-alignof.c (CHECK): Check alignof_slot, not alignof. Also + check that the results are usable as constant expressions. + +2009-05-31 Bruno Haible + + * tests/zerosize-ptr.h (zerosize_ptr): Specify more details. + * tests/test-memchr.c (main): Check that memchr does not read past the + first occurrence of the byte. + * tests/test-strstr.c (main): Update comment. + Suggested by Eric Blake. + +2009-05-30 Bruno Haible + + * doc/ld-output-def.texi (Visual Studio Compatibility): Explain in more + detail how to use dumpbin. + Reported by David Byron . + +2009-06-02 Simon Josefsson + + * tests/test-parse-duration.sh: Don't use non-portable 'read -u3'. + +2009-06-02 Simon Josefsson + + * m4/manywarnings.m4: Add GCC 4.4 warnings. + +2009-05-28 Bruno Haible + + * gnulib-tool (func_import): Don't do HAVE_CONFIG_H replacements on + build-aux/ files. + +2009-05-28 Simon Josefsson + + * gnulib-tool (func_import): Transform license on build-aux/ files too. + +2009-05-27 Simon Josefsson + + * gnulib-tool (sed_transform_main_lib_file) + (sed_transform_testsrelated_lib_file): : Don't use non-POSIX + regexps. + +2009-05-26 Simon Josefsson + + * tests/test-strstr.c: Add another self-test. + * tests/test-strstr.c: Rewrite to use malloc/strcpy instead of + strdup. Suggested by Eric Blake . + +2009-05-23 Bruno Haible + + * doc/havelib.texi (AC_LIB_HAVE_LINKFLAGS): Update for 2009-04-26 + change. + +2009-05-21 Bruno Haible + + Simplify use of mode_t varargs. + * lib/open.c (open): Use PROMOTED_MODE_T instead of a conditional that + uses 'mode_t' or 'int'. + * lib/openat.c (openat): Likewise. + * lib/open-safer.c (open_safer): Likewise. + * m4/mode_t.m4: New file. + * m4/open.m4 (gl_PREREQ_OPEN): Require gl_PROMOTED_TYPE_MODE_T. + * m4/openat.m4 (gl_PREREQ_OPENAT): Likewise. + * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Likewise. + * modules/open (Files): Add m4/mode_t.m4. + * modules/openat (Files): Likewise. + * modules/fcntl-safer (Files): Likewise. + Suggested by Eric Blake. + +2009-05-21 Pádraig Brady + + * doc/glibc-functions/fallocate.texi: New file. + * doc/gnulib.texi: Include it. + +2009-05-21 Eric Blake + Bruno Haible + + * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Remove redundant m4_quote + invocations. + * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise. + +2009-05-21 Eric Blake + Bruno Haible + + Second attempt to work around an AIX 5.3, 6.1 compiler bug with + include_next. Fix of 2008-11-20 commit. + * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Also set + NEXT_AS_FIRST_DIRECTIVE_FOO_H. + * lib/math.in.h: Use NEXT_AS_FIRST_DIRECTIVE_MATH_H instead of + NEXT_MATH_H. + * modules/math (Makefile.am): Substitute NEXT_AS_FIRST_DIRECTIVE_MATH_H + instead of NEXT_MATH_H. + +2009-05-21 Bruno Haible + + Avoid redefinition warnings for SIZE_MAX. + * m4/size_max.m4 (gl_SIZE_MAX): Avoid redefining SIZE_MAX in config.h. + Reported by Simon Josefsson. + +2009-05-21 Bruno Haible + + * m4/size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of + AC_CACHE_VAL. + +2009-05-20 Bruno Haible + + Make zeroptr.h work on mingw. + * tests/zerosize-ptr.h: Test for the presence of and + mprotect. + * modules/memchr-tests (configure.ac): Also test for sys/mman.h. + * modules/memchr2-tests (configure.ac): Likewise. + * modules/memcmp-tests (configure.ac): Likewise. + * modules/memmem-tests (configure.ac): Likewise. + * modules/memrchr-tests (configure.ac): Likewise. + Reported by Simon Josefsson. + +2009-05-20 Simon Josefsson + + * tests/test-glob.c: Include string.h for strcmp prototype. + +2009-05-20 Simon Josefsson + + * modules/getdelim (Depends-on): Add explicit stdint, although it + was implicitly already pulled in via realloc-posix. + * lib/getdelim.c: Get SIZE_MAX from stdint.h. + +2009-05-20 Simon Josefsson + + MinGW and IRIX does not have sa_family_t type. Reported by "Tom + G. Christensen" . + * m4/sys_socket_h.m4: Check for sa_family_t. + * lib/sys_socket.in.h: Typedef sa_family_t when needed. + * modules/sys_socket: Substitute HAVE_SA_FAMILY_T. + * tests/test-sys_socket.c: Check that sa_family_t works. + +2009-05-18 Eric Blake + + maint.mk: allow gnulib_dir in VPATH build + * top/maint.mk (gnulib_dir): Make relative to $(srcdir). + +2009-05-15 Jim Meyering + + maint.mk: Give gnulib_dir a default definition. + * top/maint.mk (gnulib_dir): Define to 'gnulib', by default. + Thus, most packages no longer need to specify this variable in cfg.mk + +2009-05-14 Tom Prince (tiny change) + + rename.m4: fix typos that would make non-mingw cross-configure fail + * m4/rename.m4 (gl_FUNC_RENAME): Fix typos. + +2009-05-13 Eric Blake + + mmap-anon: avoid out-of-order autoconf expansion + * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Use correct + SYSTEM_EXTENSIONS macro to silence warnings from autoconf 2.63b. + * modules/memchr-tests (Depends-on): Add extensions. + * modules/memchr2-tests (Depends-on): Add extensions. + * modules/memcmp-tests (Depends-on): Add extensions. + * modules/memmem-tests (Depends-on): Add extensions. + * modules/memrchr-tests (Depends-on): Add extensions. + +2009-05-13 Bruno Haible + + Make some tests ISO C 99 compliant. + * tests/zerosize-ptr.h: New file. + * tests/test-memchr.c: Include zerosize-ptr.h. + (main): Use a zero-size object pointer instead of NULL. + * tests/test-memchr2.c: Include zerosize-ptr.h. + (main): Use a zero-size object pointer instead of NULL. + * tests/test-memcmp.c: Include zerosize-ptr.h. + (main): Use a zero-size object pointer instead of NULL. + * tests/test-memmem.c: Include zerosize-ptr.h. + (main): Use a zero-size object pointer instead of NULL. + * tests/test-memrchr.c: Include zerosize-ptr.h. + (main): Use a zero-size object pointer instead of NULL. + * modules/memchr-tests (Files): Add tests/zerosize-ptr.h, + m4/mmap-anon.m4. + (Depends-on): Add getpagesize. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect. + * modules/memchr2-tests (Files): Add tests/zerosize-ptr.h, + m4/mmap-anon.m4. + (Depends-on): Add getpagesize. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect. + * modules/memcmp-tests (Files): Add tests/zerosize-ptr.h, + m4/mmap-anon.m4. + (Depends-on): Add getpagesize. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect. + * modules/memmem-tests (Files): Add tests/zerosize-ptr.h, + m4/mmap-anon.m4. + (Depends-on): Add getpagesize. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect. + * modules/memrchr-tests (Files): Add tests/zerosize-ptr.h, + m4/mmap-anon.m4. + (Depends-on): Add getpagesize. + (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect. + +2009-05-12 Bruno Haible + + Tests for module 'alignof'. + * modules/alignof-tests: New file. + * tests/test-alignof.c: New file. + +2009-05-12 Bruno Haible + + Fix alignof macro. + * lib/alignof.h (alignof): Remove special cases for AIX and HP-UX + vendor compilers that are always correct. + +2009-05-12 Bruno Haible + + Make the MAP_ANONYMOUS detection work on HP-UX 11. + * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check whether mmap exists, but + not whether its fully works. + +2009-05-12 Bruno Haible + + * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Add comments. + +2009-05-12 Jim Meyering + + * top/maint.mk: Adjust backslash alignment. + +2009-05-11 Simon Josefsson + + * top/maint.mk: Make $(srcdir)/build-aux configurable. + +2009-05-11 Eric Blake + + argp: avoid undefined behavior + * lib/argp-fmtstream.c (weak_alias): Pass correct types to ctype + macros. + +2009-05-08 Simon Josefsson + + * tests/test-vc-list-files-git.sh: Do git config of user.email and + user.name to prevent git commit from complaining. + +2009-05-10 Bruno Haible + + * gnulib-tool (func_import, func_create_testdir, copy-file): Change + sed_rewrite_old_files, sed_rewrite_new_files, sed_rewrite_files so that + it rewrites every file name only once. + Reported by Simon Josefsson. Helped by Ralf Wildenhues. + +2009-05-08 Bruno Haible + + * lib/sys_socket.in.h (_SS_PADSIZE): Use a conditional expression + instead of 'max'. + +2009-05-08 Simon Josefsson + + * m4/sys_socket_h.m4: Test for ws2tcpip.h earlier, needed for + sockaddr_storage test. + +2009-05-07 Simon Josefsson + + * modules/sys_socket (Makefile.am): Substitute + HAVE_STRUCT_SOCKADDR_STORAGE. Depend on alignof. + * m4/sys_socket_h.m4: Check for sockaddr_storage. + * lib/sys_socket.in.h (sockaddr_storage): Define when needed. + * tests/test-sys_socket.c: Check sockaddr_storage. + +2009-05-08 Bruno Haible + + New module 'alignof'. + * lib/alignof.h: New file. + * modules/alignof: New file. + +2009-05-04 David Bartley + Bruno Haible + + Fix test-file-has-acl on FreeBSD. + * tests/test-file-has-acl.sh: Also test a directory. On FreeBSD, the + mask is implicitly added. + * tests/test-file-has-acl.c: Include . + (main): Terminate the test after 5 seconds. + * modules/acl-tests (configure.ac): Check for alarm function. + +2009-05-04 Bruno Haible + + Exploit new semantics of AC_DEFUN_ONCE available since 2009-01-26. + * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Remove outdated comment. + * modules/errno (configure.ac): Drop AC_REQUIRE. + * m4/multiarch.m4 (gl_MULTIARCH): Remove outdated comment. + * modules/multiarch (configure.ac): Drop AC_REQUIRE. + +2009-05-04 Simon Josefsson + + * modules/glob-tests: New module. + * tests/test-glob.c: Add. + +2009-05-04 Simon Josefsson + + * modules/fnmatch-tests: New module. + * tests/test-fnmatch.c: Add. + +2009-05-04 Eric Blake + + maint: make the new no-submodule-changes rule VPATH-safe + * top/maint.mk (no-submodule-changes): Don't assume a srcdir build. + +2009-05-04 David Bartley + Bruno Haible + + acl: Fix infinite loop on FreeBSD. + * lib/acl_entries.c (acl_entries) [Linux, FreeBSD]: Fix interpretation + of return value from acl_get_entry. + * lib/file-has-acl.c (acl_access_nontrivial) [Linux, FreeBSD]: + Likewise. + +2009-05-03 Bruno Haible + + * lib/acl-internal.h (acl_entries): Clarify return value. + * lib/acl_entries.c (acl_entries): Likewise. + +2009-05-04 David Bartley + + Bug fix in acl module. + * lib/set-mode-acl.c: Use correct struct with ACL_SETACL. + +2009-05-03 Bruno Haible + + Create gperf-generated file in the source dir, not in the build dir. + * modules/iconv_open (iconv_open-aix.h, iconv_open-hpux.h, + iconv_open-irix.h, iconv_open-osf.h): Create file in the source tree. + * modules/unicase/locale-language (unicase/locale-languages.h): + Likewise. + * modules/unicase/special-casing (unicase/special-casing-table.h): + Likewise. + * modules/unictype/property-byname (unictype/pr_byname.h): Likewise. + * modules/unictype/scripts (unictype/scripts_byname.h): Likewise. + * modules/uninorm/composition (uninorm/composition-table.h): Likewise. + Reported by Ralf Wildenhues. + +2009-05-03 Bruno Haible + + * modules/fnmatch (Description, configure.ac): Taken from + fnmatch-posix. + * modules/fnmatch-posix: Turn into a symbolic reference to the + 'fnmatch' module, and deprecate. + * doc/posix-functions/fnmatch.texi: Mention the fnmatch module. + +2009-05-03 Bruno Haible + + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF, + gl_PREREQ_VASNPRINTF_LONG_DOUBLE): Define through AC_DEFUN_ONCE. + Reported by Ralf Wildenhues. + +2009-05-04 Simon Josefsson + + * m4/fnmatch.m4: Fix fnmatch re-define. + +2009-04-27 David Bartley + + priv-set: new module and tests; adapt write-any-file + * lib/priv-set.c: New file. + * lib/priv-set.h: New file. + * lib/unlinkdir.c: Make cannot_unlink_dir thread-safe. + * lib/write-any-file.c: Simplify by using priv-set module. + * m4/priv-set.m4: New file. + * modules/priv-set: New file. + * modules/unlinkdir: Add dependency on priv-set module. + * modules/write-any-file: Likewise. + + Tests for module 'priv-set'. + * modules/priv-set-tests: New file. + * tests/test-priv-set.c: New file. + +2009-05-03 Jim Meyering + Bruno Haible + + * lib/propername.c (proper_name_utf8): Ignore no-op translations; + use the converted UTF-8 variant of the name instead. + +2009-05-03 Jim Meyering + + tests: tighten some getdate tests + * tests/test-getdate.c (main): Tighten tests: require equality, + not just greater than. Set TZ envvar to UTC0. + +2009-05-03 Giuseppe Scrivano + + getdate: correctly interpret "next monday" when run on a Monday + * lib/getdate.y (get_date): Correct the calculation of tm_mday so + that e.g., "next tues" (when run on a tuesday) results in a date + that is one week in the future, and not today's date. + I.e., add a week when the wday is the same as the current one. + Reported by Tom Broadhurst in http://savannah.gnu.org/bugs/?25406, + and earlier by Martin Bernreuther and Jan Minář. + * tests/test-getdate.c (main): Check that "next DAY" is always in + the future and that "last DAY" is always in the past. + +2009-05-02 Jim Meyering + + build: ensure that a release build fails when a submodule is unclean + * top/maint.mk (no-submodule-changes): New rule. + (alpha beta major): Depend on it. + +2009-05-02 Bruno Haible + + Remove incompatibility between modules fnmatch-posix and fnmatch-gnu. + * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX, gl_FUNC_FNMATCH_GNU): Use a + shell variable gl_fnmatch_required to detect which variant is + requested. + (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): Remove macros. Inlined into + gl_FUNC_FNMATCH_POSIX. + * gnulib-tool (func_create_testdir, func_create_megatestdir): Don't + exclude fnmatch-posix. + +2009-05-02 Bruno Haible + + Relicense mbsrtowcs and strnlen1 under LGPLv2+. + * modules/mbsrtowcs (License): Change to LGPLv2+. + * modules/strnlen1 (License): Likewise. + Reported by Simon Josefsson. + +2009-05-02 Bruno Haible + + * m4/fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Say "guessing no" instead of + "cross". + (gl_FUNC_FNMATCH_POSIX, gl_FUNC_FNMATCH_GNU): Update. Don't assume that + gnulib-tool was called with option --source-base=lib. + +2009-05-02 Ralf Wildenhues + + Use automake *-local hooks without commands, for extensibility. + * modules/localcharset (Makefile.am): Rename install-exec-local + rule to install-exec-localcharset, and make it a prerequisite of + install-exec-local. Likewise, rename the uninstall-local rule to + uninstall-localcharset, and make it a prerequisite of the former. + +2009-05-01 Bruno Haible + + * lib/wchar.in.h (wcsnrtombs): Define if REPLACE_WCSNRTOMBS is 1. + * m4/wcsnrtombs.m4 (gl_FUNC_WCSRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and + set REPLACE_WCSNRTOMBS if mbstate_t must be replaced. + * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSNRTOMBS. + * modules/wchar (Makefile.am): Substitute REPLACE_WCSNRTOMBS. + * modules/wcsnrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4, + m4/locale-zh.m4, m4/codeset.m4. + + * m4/wcsrtombs.m4 (gl_FUNC_WCSNRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and + set REPLACE_WCSRTOMBS if mbstate_t must be replaced. + * modules/wcsrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4, + m4/locale-zh.m4. + + * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Invoke gl_MBSTATE_T_BROKEN, and set + REPLACE_WCRTOMB if mbstate_t must be replaced. + * modules/wcrtomb (Files): Add m4/mbrtowc.m4. + Reported by Jens Rehsack via Eric Blake. + +2009-05-01 Bruno Haible + + Avoid compiler warnings when redefining macros defined by . + * lib/gettext.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, ngettext, + dngettext, dcngettext, textdomain, bindtextdomain, + bind_textdomain_codeset): Undefine before redefining. + +2009-04-30 Bruno Haible + + Fix bug introduced on 2009-04-25. + * lib/math.in.h (gl_signbitf_OPTIMIZED_MACRO, + gl_signbitd_OPTIMIZED_MACRO, gl_signbitl_OPTIMIZED_MACRO): New macros. + * lib/signbitf.c (gl_signbitd): Undefine if gl_signbitf_OPTIMIZED_MACRO + is defined. + * lib/signbitd.c (gl_signbitd): Undefine if gl_signbitd_OPTIMIZED_MACRO + is defined. + * lib/signbitl.c (gl_signbitd): Undefine if gl_signbitl_OPTIMIZED_MACRO + is defined. + Reported by Elbert_Pol . + +2009-04-28 Bruno Haible + + Comment tweaks. + * lib/unistr.h (u*_cmp2): Clarify what memcmp2 is. + * lib/uninorm.h (u*_normxfrm): Fix description of return value. + * lib/unicase.h (u*_casexfrm): Likewise. + Reported by Paolo Bonzini. + +2009-04-28 Bruno Haible + + Fix a compilation error. + * lib/mbsrtowcs-state.c (_gl_mbsrtowcs_state): Fix initializer. + * lib/wcsrtombs-state.c (_gl_wcsrtombs_state): Likewise. + Reported by Jim Meyering. + +2009-04-27 Bruno Haible + + New module 'libunistring'. + * modules/libunistring: New file. + * m4/libunistring.m4: New file. + * MODULES.html.sh (Unicode string functions): Add it. + +2009-04-27 Eric Blake + + maint.mk: allow package-specific header to provide + * top/maint.mk (sc_require_config_h): New variable. + (sc_require_config_h, sc_require_config_h_first): Use it. + +2009-04-27 Simon Josefsson + + * top/maint.mk (sc_avoid_if_before_free): Except + useless-if-before-free script. + +2009-04-27 Eric Blake + + 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 + + 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 + + * 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 + + 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 + + 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 + + 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 * modules/unistr/u8-cpy-alloc (Depends-on): Add malloc-posix.