X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=4d27d6afbce550d98ff453094b8a42b682bc871c;hb=2ec275004253b6618ffc178aa32a67a6a75fa5fb;hp=b571ba8d095c4e3a5e759433a1c95f2e2ecfad63;hpb=fb0f15d4d3057fd142dcd3d6d86b26ba719a88c2;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index b571ba8d0..4d27d6afb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,700 @@ +2010-09-05 Bruno Haible + + gnulib-tool: Highlight the changed options. + * gnulib-tool (func_usage): Display the --import, --add-import, + --remove-import explanations in bold font. + +2010-09-06 Karl Berry + + * doc/gnulib-tool.texi (Modified imports): doc tweaks. + +2010-09-05 Bruno Haible + + uniwidth/width: Update comment. + * lib/uniwidth/width.c (uc_width): Update comment for Unicode >= 3.1. + Reported by Emanuele Giaquinta . + +2010-09-05 Bruno Haible + + isinf, isnan: Relax license. + * modules/isinf (License): Change from GPL to LGPL, with consent from + Ben Pfaff. + * modules/isnan (License): Likewise. + Requested by Ludovic Courtès. + +2010-09-04 Bruno Haible + + gnulib-tool: Help migration from --import to --add-import or --update. + * gnulib-tool: Emit a verbose error message when --import is used + without any module name. + +2010-09-04 Bruno Haible + + Update doc about gnulib-tool. + * doc/gnulib-tool.texi (VCS Issues): Explain 'gnulib-tool --import' vs. + 'gnulib-tool --update' in more detail. + Reported by Eric Blake. + +2010-09-04 Bruno Haible + + gnulib-tool: Change --import. New options --add/remove-import. + * gnulib-tool: New options --add-import, --remove-import. + (func_usage): Document them. + (have_associative): Define always. + (func_import): In import mode, don't merge the specified settings with + the cached settings. Implement remove-import mode. + * doc/gnulib-tool.texi (Modified imports): Mention the new options. + Explain when to use them versus --import. + (Simple update): Use --add-import instead of --import. + * NEWS: Mention the change. + +2010-09-04 Bruno Haible + + * doc/gnulib-tool.texi (Initial import): Update paragraph about + separate gnulib.mk. + +2010-09-04 Bruno Haible + + gnulib-tool: Don't talk about CVS any more. + * gnulib-tool (func_usage, func_import): Write "version control" + instead of CVS. + +2010-09-04 Jim Meyering + + maint.mk: avoid obscure sc_copyright_check failure in coreutils + * top/maint.mk (v_etc_file): Prepend $(gnulib_dir)/, to avoid + false positives (whose names may be ill-chosen) when searching + non-VC'd files. Otherwise, a file named "a b/lib/version-etc.c" + would cause a false-positive. + + avoid coreutils "make distcheck" failure + Coreutils tests with an absolute build directory name that contains + a space. Not quoting this directory name caused a failure. + * tests/test-vc-list-files-git.sh: Quote PATH dir name. + * tests/test-vc-list-files-cvs.sh: Likewise. + +2010-09-04 Bruno Haible + + gnulib-tool: Avoid error when run in a package without Makefile.am. + * gnulib-tool: When collecting the m4dirs in a package that does not + have a Makefile.am, eliminate those directories that contain no + gnulib-cache.m4. Fix expression that counts these directories. + +2010-09-04 Bruno Haible + + update-copyright test: Improve output when perl is missing or too old. + * tests/test-update-copyright.sh: Move test of Perl version down after + the test whether Perl exists. Provide an explanation relating Perl's + error message to Automake's SKIP: message. + +2010-09-04 Bruno Haible + + Don't augment PATH in TESTS_ENVIRONMENT. + * modules/update-copyright-tests (Makefile.am): In TESTS_ENVIRONMENT, + set abs_aux_dir instead of augmenting PATH. + * modules/vc-list-files-tests (Makefile.am): Likewise. + * tests/test-update-copyright.sh: Augment PATH here. + * tests/test-vc-list-files-cvs.sh: Augment PATH here, through + path_prepend_. + * tests/test-vc-list-files-git.sh: Likewise. + +2010-09-04 Jim Meyering + + tests: prohibit augmenting PATH via TESTS_ENVIRONMENT + * Makefile (sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT): New rule. + +2010-09-04 Bruno Haible + + strdup: Fix compilation error in C++ mode. + * lib/string.in.h (strdup): In C++ mode with GNULIB_NAMESPACE, undefine + the macro. + +2010-09-04 Bruno Haible + + dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX. + * lib/dirent.in.h (dirfd): In C++ mode with GNULIB_NAMESPACE, turn the + macro into a function. + Reported by Jarno Rajahalme . + +2010-09-04 Bruno Haible + + Set PATH_SEPARATOR the same way autoconf does. + * build-aux/relocatable.sh.in (func_find_curr_installdir): Determine + the value of PATH_SEPARATOR the same way autoconf-generated configure + scripts do. + * m4/lib-ld.m4 (AC_LIB_PROG_LD): Likewise. + * m4/progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise. + +2010-09-04 Stefano Lattarini (tiny change) + + Set PATH_SEPARATOR the same way autoconf does. + * gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR + the same way autoconf-generated configure scripts do. + * posix-modules: Likewise. + +2010-09-02 Paul Eggert + + hash: fix safe_hasher const typo + * lib/hash.c (safe_hasher): Result is pointer, not pointer to + const; otherwise, there is a type error later. + +2010-09-02 Jim Meyering + + test-update-copyright.sh: require perl 5.8.0 + * tests/test-update-copyright.sh: Require 5.8.0, + which Tom G. Christensen has confirmed is adequate, + while 5.6.1 is not. + +2010-09-02 Eric Blake + + tests: init.sh improvements for re-exec'ing with zsh + * tests/init.sh: Borrow autoconf POSIX-mode sanitization. Pass + -vx through shell re-exec. + Reported by Tom G. Christensen. + + wctype: fix typo in previous commit + * m4/wctype_h.m4 (gl_WCTYPE_H): Fix spelling. + Reported by Ludovic Courtès. + +2010-09-02 Jim Meyering + + test-update-copyright.sh: skip test if Perl is too old + * tests/test-update-copyright.sh: Exit 77 if Perl is too old. + Reported by Tom G. Christensen. + +2010-09-02 Bruno Haible + + wctype: Avoid compilation error on IRIX 6.5.30. + * lib/wctype.in.h (iswblank): Declare with a replacement if + REPLACE_ISWBLANK is set. + * m4/wctype_h.m4 (gl_WCTYPE_H): Check also whether iswblank is + declared. Set REPLACE_ISWBLANK. + * modules/wctype (Makefile.am): Substitute REPLACE_ISWBLANK. + * doc/posix-functions/iswblank.texi: Mention the IRIX 6.5.30 problem. + * doc/posix-headers/wctype.texi: Likewise. + Reported by Tom G. Christensen . + +2010-09-01 Bruno Haible + + New module 'socketlib'. + * modules/socketlib: New file. + * m4/socketlib.m4: New file, extracted from m4/sockets.m4. + * m4/sockets.m4 (gl_SOCKETS): Require gl_SOCKETLIB. + * modules/sockets (Depends-on): Add socketlib. + Suggested by Sam Steingold . + +2010-09-01 Paul Eggert + + fcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable + + POSIX 2008 specifies a new 'open' flag O_SEARCH, which can be used + when one needs search access to a directory but not read access. + On systems where it is available, it works in some cases where + O_RDONLY does not, namely on directories that are searchable but + not readable, and which need only to be searchable. If O_SEARCH + is not available, fall back to the traditional method of using + O_RDONLY. + + * lib/fcntl.in.h (O_SEARCH): #define to O_RDONLY if not defined. + * lib/chdir-long.c (cdb_advance_fd): Use O_SEARCH, not O_RDONLY, + when opening a directory that needs only to be searchable. + * lib/chdir-safer.c (chdir_no_follow): Likewise. + * lib/fts.c (diropen, fts_open, fd_ring_check): Likewise. + * lib/openat-proc.c (openat_proc_name): Likewise. + * lib/openat.c (openat_needs_fchdir): Likewise. + * lib/save-cwd.c (save_cwd): Likewise. + * lib/savewd.c (savewd_save, savewd_chdir): Likewise. + +2010-08-28 Bruno Haible + + New module 'host-cpu-c-abi'. + * modules/host-cpu-c-abi: New file. + * m4/host-cpu-c-abi.m4: New file, based on part of + clisp/src/m4/general.m4. + Requested by Sam Steingold . + +2010-08-31 Eric Blake + and Jim Meyering + + hash: factor, and guard against misbehaving hasher function + * lib/hash.c (safe_hasher): New function, to encapsulate the checking + of table->hasher's return value. Also protect against a hash value + so large that adding it to table->bucket results in a NULL pointer. + (hash_lookup, hash_get_next, hash_find_entry, transfer_entries): + Use it in place of open-coded check-and-abort. + +2010-08-30 Bruno Haible + + hash: silence spurious clang warning + * lib/hash.c (hash_get_next): Remove unnecessary test against NULL. + Reported by Eric Blake. + +2010-08-30 Eric Blake + + strstr, memmem, strcasestr: avoid leaked shell message + * m4/strstr.m4 (gl_FUNC_STRSTR): Avoid "Alarm clock" message from + FreeBSD. + * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise. + + tests: silence clang warning + * tests/test-malloca.c (do_allocation): Avoid dead store. + +2010-08-29 Bruno Haible + + gettext: Fix recent mistake. + * m4/intl.m4 (gt_CHECK_DECL): Fix typo introduced on 2010-08-26. + +2010-08-29 Bruno Haible + + selinux-h: Offer a --without-selinux option. + * m4/selinux-selinux-h.m4 (gl_HEADERS_SELINUX_SELINUX_H): If + --without-selinux was specified, skip all tests and define + HAVE_SELINUX_SELINUX_H to 0. + (gl_LIBSELINUX): Offer --without-selinux option. If it is specified, + set LIB_SELINUX to empty. + * m4/selinux-context-h.m4 (gl_HEADERS_SELINUX_CONTEXT_H): Require + gl_LIBSELINUX. If --without-selinux was specified, replace + selinux/context.h. + Reported by Johan Hattne . + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'realloc-gnu' work again on AIX and OSF/1. + * m4/realloc.m4 (gl_FUNC_REALLOC_GNU): Define HAVE_REALLOC_GNU instead + of HAVE_REALLOC. + * lib/realloc.c (NEED_REALLOC_GNU): Enable behaviour also when + GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU. + (SYSTEM_MALLOC_GLIBC_COMPATIBLE): Adjust definition. + * modules/realloc-gnu (configure.ac): Use gl_MODULE_INDICATOR. + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'calloc-gnu' work again on AIX and OSF/1. + * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): Define HAVE_CALLOC_GNU instead of + HAVE_CALLOC. + * lib/xmalloc.c: Update accordingly. + * lib/calloc.c (NEED_CALLOC_GNU): Enable also when + GNULIB_CALLOC_GNU && !HAVE_CALLOC_GNU. + * modules/calloc-gnu (configure.ac): Invoke gl_MODULE_INDICATOR. + +2010-08-29 Ralf Wildenhues + Bruno Haible + + Make the module 'malloc-gnu' work again on AIX and OSF/1. + * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): Define HAVE_MALLOC_GNU instead of + HAVE_MALLOC. + * lib/malloc.c (NEED_MALLOC_GNU): Enable behaviour also when + GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU. + * modules/malloc-gnu (configure.ac): Use gl_MODULE_INDICATOR. + +2010-08-29 Bruno Haible + + Update modules list. + * MODULES.html.sh (Memory management functions ): Add + malloc-gnu, calloc-gnu, realloc-gnu. Remove malloc, calloc, realloc. + (String handling ): Add astrxfrm. + (File system functions): Add readlinkat. + +2010-08-28 Ralf Wildenhues + + Tests for module 'realloc-gnu'. + * modules/realloc-gnu-tests: New file. + * tests/test-realloc-gnu.c: New file. + + Tests for module 'calloc-gnu'. + * modules/calloc-gnu-tests: New file. + * tests/test-calloc-gnu.c: New file. + + Tests for module 'malloc-gnu'. + * modules/malloc-gnu-tests: New file. + * tests/test-malloc-gnu.c: New file. + +2010-08-28 Bruno Haible + + Rename module 'realloc' -> 'realloc-gnu'. + * modules/realloc-gnu: New file, copied from modules/realloc. + * modules/realloc: Convert to a redirection to 'realloc-gnu'. Mark as + obsolete. + * modules/mgetgroups (Depends-on): Update. + * doc/posix-functions/realloc.texi: Update. + * NEWS: Mention the change. + + Rename module 'calloc' -> 'calloc-gnu'. + * modules/calloc-gnu: New file, copied from modules/calloc. + * modules/calloc: Convert to a redirection to 'calloc-gnu'. Mark as + obsolete. + * doc/posix-functions/calloc.texi: Update. + * NEWS: Mention the change. + + Rename module 'malloc' -> 'malloc-gnu'. + * modules/malloc-gnu: New file, copied from modules/malloc. + * modules/malloc: Convert to a redirection to 'malloc-gnu'. Mark as + obsolete. + * modules/argp (Depends-on): Update. + * modules/regex (Depends-on): Update. + * doc/posix-functions/malloc.texi: Update. + * NEWS: Mention the change. + +2010-08-28 Eric Blake + + pread, pwrite: add missing dependency + * modules/pread (Depends-on): Add extensions. + * modules/pwrite (Depends-on): Likewise. + +2010-08-28 Bruno Haible + + unistr/u*-strchr: Fix tests dependencies. + * modules/unistr/u8-strchr-tests (Depends-on): Add unistr/u32-to-u8. + * modules/unistr/u16-strchr-tests (Depends-on): Add unistr/u32-to-u16. + Reported by Ian Beckwith . + +2010-08-28 Bruno Haible + + read-file: Don't occupy too much unused memory. + * lib/read-file.c (fread_file): Shrink the buffer at the end. + +2010-08-28 Giuseppe Scrivano + Eric Blake + Bruno Haible + + read-file: Avoid memory reallocations with regular files. + * lib/read-file.c: Include , , . + (fread_file): With regular files, use the remaining length as the + initial buffer size. Check against overflow. + * modules/read-file (Depends-on): Add ftello, malloc-posix, stdint, + sys_stat. + +2010-08-28 Bruno Haible + + ftello: Relax license. + * modules/ftello (License): Relax to LGPLv2+. + Reported by Eric Blake. + +2010-08-28 Bruno Haible + + Avoid relocwrapper link errors due to gnulib replacement functions. + * lib/canonicalize-lgpl.c [IN_RELOCWRAPPER]: Use the system's getcwd + function. + Reported by Ben Pfaff . + +2010-08-28 Bruno Haible + + Prefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib. + * m4/iconv.m4 (gl_iconv_AC_DEFUN): Use AC_DEFUN_ONCE if gl_00GNULIB is + defined. + * m4/libunistring.m4 (gl_libunistring_AC_DEFUN): Likewise. + Suggested by Eric Blake. + +2010-08-28 Bruno Haible + + sys_socket, netdb: Ensure socklen_t gets defined. + * modules/sys_socket (Depends-on): Add socklen. + * modules/netdb (Depends-on): Likewise. + * modules/getaddrinfo (Depends-on): Remove socklen. + * modules/getsockopt (Depends-on): Likewise. + * modules/setsockopt (Depends-on): Likewise. + * tests/test-sys_socket.c: Check that socklen_t is defined. + * tests/test-netdb.c: Likewise. + * m4/socklen.m4: Update comments. + Reported by Ralf Wildenhues . + +2010-08-27 Eric Blake + + login_tty: add missing dependency + * modules/login_tty (Depends-on): Add pty. + +2010-08-26 Eric Blake + + lib-symbol-versions: fix m4 quoting + * m4/ld-version-script.m4 (gl_LD_VERSION_SCRIPT): Use correct + format for AC_LINK_IFELSE. + + glob: fix compile test + * m4/glob.m4 (gl_GLOB): Use correct format for AC_COMPILE_IFELSE. + + btowc: fix missing file + * modules/btowc (Files): Also ship locale-fr.m4. + + lseek: fix link test + * m4/lseek.m4 (gl_FUNC_LSEEK): Use correct format for + AC_LINK_IFELSE. + + include_next: silence autoconf 2.68 warning + * m4/include_next.m4 (gl_INCLUDE_NEXT): Mark this use of + AC_COMPILE_IFELSE as special. + (AC_LANG_DEFINES_PROVIDED): Provide dummy implementation for + autoconf < 2.68. + + acl: fix compilation test + * m4/acl.m4 (gl_FUNC_ALL): Use correct format for + AC_COMPILE_IFELSE. + +2010-08-26 Bruno Haible + + Modernize AC_TRY_RUN invocations. + * m4/btowc.m4 (gl_FUNC_BTOWC): Use AC_RUN_IFELSE instead of AC_TRY_RUN. + * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise. + * m4/exponentd.m4 (gl_DOUBLE_EXPONENT_LOCATION): Likewise. + * m4/exponentf.m4 (gl_FLOAT_EXPONENT_LOCATION): Likewise. + * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Likewise. + * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise. + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Likewise. + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Likewise. + * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise. + * m4/iconv.m4 (AM_ICONV_LINK): Likewise. + * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Likewise. + * m4/intdiv0.m4 (gt_INTDIV0): Likewise. + * m4/isnanf.m4 (gl_ISNANF_WORKS): Likewise. + * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise. + * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Likewise. + * m4/mbrlen.m4 (gl_MBRLEN_INCOMPLETE_STATE, gl_MBRLEN_RETVAL, + gl_MBRLEN_NUL_RETVAL): Likewise. + * 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/open.m4 (gl_FUNC_OPEN): Likewise. + * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE, + gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE, + gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_DIRECTIVE_N, + gl_PRINTF_DIRECTIVE_LS, gl_PRINTF_POSITIONS, gl_PRINTF_FLAG_GROUPING, + gl_PRINTF_FLAG_LEFTADJUST, gl_PRINTF_FLAG_ZERO, gl_PRINTF_PRECISION, + gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99, + gl_SNPRINTF_DIRECTIVE_N, gl_SNPRINTF_SIZE1, gl_VSNPRINTF_ZEROSIZE_C99): + Likewise. + * m4/printf-posix.m4 (gt_PRINTF_POSIX): Likewise. + * m4/signbit.m4 (gl_SIGNBIT, gl_FLOATTYPE_SIGN_LOCATION): Likewise. + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise. + * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Likewise. + * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise. + * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION): Likewise. + * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise. + +2010-08-26 Bruno Haible + + Modernize AC_TRY_LINK invocations. + * m4/acosl.m4 (gl_FUNC_ACOSL): Use AC_LINK_IFELSE instead of + AC_TRY_LINK. + * m4/argp.m4 (gl_ARGP): Likewise. + * m4/asinl.m4 (gl_FUNC_ASINL): Likewise. + * m4/atanl.m4 (gl_FUNC_ATANL): Likewise. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise. + * m4/codeset.m4 (AM_LANGINFO_CODESET): Likewise. + * m4/cosl.m4 (gl_FUNC_COSL): Likewise. + * m4/expl.m4 (gl_FUNC_EXPL): Likewise. + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise. + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise. + * m4/frexp.m4 (gl_FUNC_FREXP, gl_CHECK_FREXP_NO_LIBM): Likewise. + * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_CHECK_FREXPL_NO_LIBM): Likewise. + * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise. + * m4/gettext.m4 (AM_GNU_GETTEXT): Likewise. + * m4/hostent.m4 (gl_HOSTENT): Likewise. + * m4/iconv.m4 (AM_ICONV_LINK): Likewise. + * m4/intl.m4 (gt_INTL_SUBDIR_CORE): Likewise. + * m4/intlmacosx.m4 (gt_INTL_MACOSX): Likewise. + * m4/isnand.m4 (gl_HAVE_ISNAND_IN_LIBM, gl_HAVE_ISNAND_NO_LIBM): + Likewise. + * m4/isnanf.m4 (gl_HAVE_ISNANF_NO_LIBM, gl_HAVE_ISNANF_IN_LIBM): + Likewise. + * m4/isnanl.m4 (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM): + Likewise. + * m4/lcmessage.m4 (gt_LC_MESSAGES): Likewise. + * m4/ldexpl.m4 (gl_FUNC_LDEXPL, gl_CHECK_LDEXPL_NO_LIBM): Likewise. + * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Likewise. + * m4/logb.m4 (gl_FUNC_LOGB): Likewise. + * m4/logl.m4 (gl_FUNC_LOGL): Likewise. + * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Likewise. + * m4/servent.m4 (gl_SERVENT): Likewise. + * m4/signbit.m4 (gl_SIGNBIT): Likewise. + * m4/sinl.m4 (gl_FUNC_SINL): Likewise. + * m4/sqrtl.m4 (gl_FUNC_SQRTL): Likewise. + * m4/tanl.m4 (gl_FUNC_TANL): Likewise. + * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise. + * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise. + * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise. + * modules/tsearch-tests (configure.ac): Likewise. + +2010-08-26 Bruno Haible + + Modernize AC_TRY_COMPILE invocations. + * m4/environ.m4 (gt_CHECK_VAR_DECL): Use AC_COMPILE_IFELSE instead of + AC_TRY_COMPILE. + * m4/iconv.m4 (gl_iconv_AC_DEFUN): Likewise. + * m4/intl.m4 (gt_CHECK_DECL): Likewise. + * m4/intmax.m4 (gt_TYPE_INTMAX_T): Likewise. + * m4/intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise. + * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise. + * m4/inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. + * m4/locale_h.m4 (gl_LOCALE_H): Likewise. + * m4/lock.m4 (gl_LOCK): Likewise. + * m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Likewise. + * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise. + * m4/minmax.m4 (gl_MINMAX_IN_HEADER): Likewise. + * m4/setenv.m4 (gl_FUNC_UNSETENV): Likewise. + * m4/size_max.m4 (gl_SIZE_MAX): Likewise. + * m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Likewise. + * m4/stdarg.m4 (gl_STDARG_H): Likewise. + * m4/stdbool.m4 (AC_HEADER_STDBOOL): Likewise. + * m4/stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise. + * m4/visibility.m4 (gl_VISIBILITY): Likewise. + * m4/wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise. + * m4/wint_t.m4 (gt_TYPE_WINT_T): Likewise. + * m4/libunistring.m4 (gl_LIBUNISTRING_CORE): Likewise. Remove + extraneous semicolon. + +2010-08-26 Jim Meyering + + stat-time: relax license LGPL + * modules/stat-time (License): Change from GPL to LGPL, + with consent from all contributors, for use in libguile. + Requested by Ludovic Courtès. + +2010-08-26 Erik Faye-Lund + + poll: return immediately on POLLHUP. + * lib/poll.c (poll): Always set timeout before wait_timeout is + computed. + +2010-08-25 Ralf Wildenhues + + Fix test-unlinkat, test-rmdir failure on AIX 5.3. + * tests/test-rmdir.h (test_rmdir_func): Also accept EEXIST for + rmdir ("dir/.//"), unlinkat. + +2010-08-24 Paul Eggert + + stdbool: avoid spurious failure with modern xlc + * m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf. + +2010-08-24 Bruno Haible + + getloadavg: simplify code + * m4/getloadavg.m4 (gl_GETLOADAVG): Remove useless test of + gl_have_func. Update comments. + +2010-08-24 Eric Blake + + getloadavg: don't define SVR4 on cygwin + * m4/getloadavg.m4 (gl_GETLOADAVG): Sync with autoconf fix, to + only define SVR4 when -lkvm is required. + Reported by Yaakov Selkowitz. + +2010-08-24 Bruno Haible + + priv-set: fix comment + * lib/priv-set.c (priv_set_restore): Fix typo in comment. + +2010-08-23 Paul Eggert + + priv-set: fix comments + * lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments + to match code, as suggested by David Bartley in: + http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html + +2010-08-23 Eric Blake + + stdbool: avoid rejecting clang + * m4/stdbool.m4 (AC_HEADER_STDBOOL): Resync with autoconf. + * tests/test-stdbool.c: Enable more tests if using the system + instead of the gnulib replacement. + (main): Move xlc bug test to a runtime test for all compilers. + Reported by Anders Kaseorg. + + argz: fix shell quoting issue + * m4/argz.m4 (gl_FUNC_ARGZ): Allow for spaces in argument. + Reported by Charles Wilson. + +2010-08-22 Paolo Bonzini + Erik Faye-Lund + + poll, select: handle ERROR_BROKEN_PIPE. + * lib/poll.c (win32_compute_revents): Return POLLHUP when + PeekNamedPipe fails with ERROR_BROKEN_PIPE. + * lib/select.c (win32_compute_revents): Do not mark a pipe + as writeable if PeekNamedPipe fails with ERROR_BROKEN_PIPE. + +2010-08-22 Giuseppe Scrivano + + fts: allow compilation with C++ + * lib/fts_.h: Specify extern "C" linkage with C++. + +2010-08-22 Ralf Wildenhues + + Fix gnulib-tool sed script de-commentation for AIX sed. + * gnulib-tool (sed_comments): Try indented comments, for AIX 5.3 + sed. + +2010-08-17 Eric Blake + + test-stddef: test for (some) offsetof bugs + * tests/test-stddef.c: Enhance test to ensure correct type of + offsetof. + * doc/posix-headers/stddef.texi (stddef.h): Document a Solaris bug + that we are not fixing at this time. + +2010-08-15 Bruno Haible + + stpncpy: Allow stpncpy to be defined as a macro. + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Don't attempt to redeclare stpncpy + if it's already correctly declared. + * lib/string.in.h (stpncpy): Undefine before redefining. + Reported by Jeremy Huddleston . + +2010-08-14 Bruno Haible + + Rename module 'memxfrm' to 'amemxfrm'. + * lib/amemxfrm.h: Renamed from lib/memxfrm.h. + (amemxfrm): Renamed from memxfrm. + * lib/amemxfrm.c: Renamed from lib/memxfrm.h. Include amemxfrm.h. + (amemxfrm): Renamed from memxfrm. + * modules/amemxfrm: Renamed from modules/memxfrm. Update. + * NEWS: Mention the change. + * MODULES.html.sh (String handling ): Update. + * lib/unicase/u-casexfrm.h: Invoke amemxfrm instead of memxfrm. + * lib/unicase/u8-casexfrm.c: Include amemxfrm.h instead of memxfrm.h. + * lib/unicase/u16-casexfrm.c: Likewise. + * lib/unicase/u32-casexfrm.c: Likewise. + * lib/uninorm/u-normxfrm.h: Invoke amemxfrm instead of memxfrm. + * lib/uninorm/u8-normxfrm.c: Include amemxfrm.h instead of memxfrm.h. + * lib/uninorm/u16-normxfrm.c: Likewise. + * lib/uninorm/u32-normxfrm.c: Likewise. + * modules/unicase/u8-casexfrm (Depends-on): Add amemxfrm, remove + memxfrm. + * modules/unicase/u16-casexfrm (Depends-on): Likewise. + * modules/unicase/u32-casexfrm (Depends-on): Likewise. + * modules/uninorm/u8-normxfrm (Depends-on): Likewise. + * modules/uninorm/u16-normxfrm (Depends-on): Likewise. + * modules/uninorm/u32-normxfrm (Depends-on): Likewise. + Suggested by Paul Eggert. + +2010-08-14 Bruno Haible + + Tests for module 'astrxfrm'. + * modules/astrxfrm-tests: New file. + * tests/test-astrxfrm.c: New file. + + New module 'astrxfrm'. + * lib/astrxfrm.h: New file. + * lib/astrxfrm.c: New file, based on lib/memxfrm.c. + * modules/astrxfrm: New file. + +2010-08-14 Reuben Thomas + + regex: Tweak doc. + * doc/regex.texi (Overview): Don't mention regex.c. + (GNU Regular Expression Compiling): Likewise. + (Match-end-of-line Operator): Mention 'not_eol'. + 2010-08-14 Brian Gough Bruno Haible