Skip to content
Commits on Sep 5, 2010
  1. @bhaible

    uniwidth/width: Update comment.

    bhaible committed
    * lib/uniwidth/width.c (uc_width): Update comment for Unicode >= 3.1.
    Reported by Emanuele Giaquinta <>.
  2. @bhaible

    isinf, isnan: Relax license.

    bhaible committed
    * modules/isinf (License): Change from GPL to LGPL, with consent from
    Ben Pfaff.
    * modules/isnan (License): Likewise.
    Requested by Ludovic Courtès.
Commits on Sep 4, 2010
  1. @bhaible

    gnulib-tool: Help migration from --import to --add-import or --update.

    bhaible committed
    * gnulib-tool: Emit a verbose error message when --import is used
    without any module name.
  2. @bhaible

    Update doc about gnulib-tool.

    bhaible committed
    * doc/gnulib-tool.texi (VCS Issues): Explain 'gnulib-tool --import' vs.
    'gnulib-tool --update' in more detail.
    Reported by Eric Blake.
  3. @bhaible

    gnulib-tool: Change --import. New options --add/remove-import.

    bhaible committed
    * 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.
  4. @bhaible

    Doc update.

    bhaible committed
  5. @bhaible

    gnulib-tool: Don't talk about CVS any more.

    bhaible committed
    * gnulib-tool (func_usage, func_import): Write "version control"
    instead of CVS.
  6. avoid obscure sc_copyright_check failure in coreutils

    Jim Meyering committed
    * top/ (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.
  7. @bhaible
  8. avoid coreutils "make distcheck" failure

    Jim Meyering committed
    Coreutils tests with an absolute build directory name that contains
    a space.  Not quoting this directory name caused a failure.
    * tests/ Quote PATH dir name.
    * tests/ Likewise.
  9. @bhaible

    gnulib-tool: Avoid error when run in a package without

    bhaible committed
    * gnulib-tool: When collecting the m4dirs in a package that does not
    have a, eliminate those directories that contain no
  10. @bhaible

    update-copyright test: Improve output when perl is missing or too old.

    bhaible committed
    * tests/ 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.
  11. @bhaible

    Don't augment PATH in TESTS_ENVIRONMENT.

    bhaible committed
    * modules/update-copyright-tests ( In TESTS_ENVIRONMENT,
    set abs_aux_dir instead of augmenting PATH.
    * modules/vc-list-files-tests ( Likewise.
    * tests/ Augment PATH here.
    * tests/ Augment PATH here, through
    * tests/ Likewise.
  12. tests: prohibit augmenting PATH via TESTS_ENVIRONMENT

    Jim Meyering committed
    * Makefile (sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT): New rule.
  13. @bhaible

    strdup: Fix compilation error in C++ mode.

    bhaible committed
    * lib/ (strdup): In C++ mode with GNULIB_NAMESPACE, undefine
    the macro.
  14. @bhaible

    dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.

    bhaible committed
    * lib/ (dirfd): In C++ mode with GNULIB_NAMESPACE, turn the
    macro into a function.
    Reported by Jarno Rajahalme <>.
  15. @bhaible

    Set PATH_SEPARATOR the same way autoconf does.

    bhaible committed
    * build-aux/ (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.
  16. @slattarini @bhaible

    Set PATH_SEPARATOR the same way autoconf does.

    slattarini committed with bhaible
    * gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR
    the same way autoconf-generated configure scripts do.
    * posix-modules: Likewise.
Commits on Sep 3, 2010
  1. @kberry


    kberry committed
Commits on Sep 2, 2010
  1. tests: improvements for re-exec'ing with zsh

    Eric Blake committed
    Tom's IRIX setup had a broken bash, and proceeded to run zsh
    outside of POSIX mode.  But trying to trace that setup proved
    difficult, since the re-exec lost tracing.
    * tests/ Borrow autoconf POSIX-mode sanitization.  Pass
    -vx through shell re-exec.
    Reported by Tom G. Christensen.
    Signed-off-by: Eric Blake <>
  2. @eggert

    hash: fix safe_hasher const typo

    eggert committed
    * lib/hash.c (safe_hasher): Result is pointer, not pointer to
    const; otherwise, there is a type error later.
  3. require perl 5.8.0

    Jim Meyering committed
    * tests/ Require 5.8.0,
    which Tom G. Christensen has confirmed is adequate,
    while 5.6.1 is not.
  4. wctype: fix typo in previous commit

    Eric Blake committed
    * m4/wctype_h.m4 (gl_WCTYPE_H): Fix spelling.
    Reported by Ludovic Courtès.
    Signed-off-by: Eric Blake <>
  5. skip test if Perl is too old

    Jim Meyering committed
    * tests/ Exit 77 if Perl is too old.
    Reported by Tom G. Christensen.
  6. @bhaible

    wctype: Avoid compilation error on IRIX 6.5.30.

    bhaible committed
    * lib/ (iswblank): Declare with a replacement if
    * m4/wctype_h.m4 (gl_WCTYPE_H): Check also whether iswblank is
    declared. Set REPLACE_ISWBLANK.
    * modules/wctype ( 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 <>.
  7. @bhaible

    New module 'socketlib'.

    bhaible committed
    * 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 <>.
Commits on Sep 1, 2010
  1. @eggert

    fcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable

    eggert committed
    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
    * lib/ (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.
  2. @kberry


    kberry committed
Commits on Aug 31, 2010
  1. @bhaible

    New module 'host-cpu-c-abi'.

    bhaible committed
  2. hash: factor, and guard against misbehaving hasher function

    Eric Blake committed
    * 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.
  3. @bhaible

    hash: silence spurious clang warning

    bhaible committed with Jim Meyering
    * lib/hash.c (hash_get_next): Remove unnecessary test against NULL.
    Reported by Eric Blake.
Commits on Aug 30, 2010
  1. strstr, memmem, strcasestr: avoid leaked shell message

    Eric Blake committed
    * m4/strstr.m4 (gl_FUNC_STRSTR): Avoid "Alarm clock" message from
    * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
    * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
    Signed-off-by: Eric Blake <>
  2. tests: silence clang warning

    Eric Blake committed
    * tests/test-malloca.c (do_allocation): Avoid dead store.
    Signed-off-by: Eric Blake <>
Commits on Aug 29, 2010
  1. @bhaible

    gettext: Fix recent mistake.

    bhaible committed
  2. @bhaible
Something went wrong with that request. Please try again.