Log

Author Commit Date CI Message
Ben Pfaff fcdbbe00 2010-06-14T17:15:41 strtod: Assume strtod() works when cross-compiling to new-enough glibc.
Ben Pfaff 161d300c 2010-06-14T16:52:25 Factor out common code in gl_FUNC_STRTOD.
Bruno Haible 39bdc0a9 2010-06-15T10:37:32 strtod: Stop using AC_FUNC_STRTOD.
René Berber 3bf58aa1 2010-06-15T10:29:07 select: Correct timeout.
Thien-Thi Nguyen e0fcde81 2010-06-14T22:25:42 git-version-gen: init shell var to avoid env var influence * build-aux/git-version-gen (v): Init shell var to empty. Signed-off-by: Eric Blake <eblake@redhat.com>
Paul Eggert 823b6cf1 2010-06-14T12:20:22 priv-set: Don't assume that priv.h exists merely because getppriv does. See Jan Andersen's bug report about AIX 5L in http://lists.gnu.org/archive/html/bug-tar/2010-06/msg00019.html * m4/priv-set.m4 (gl_PRIV_SET): Check for priv.h. * lib/priv-set.c: Do nothing unless HAVE_PRIV_H. * lib/priv-set.h: Likewise. * tests/test-priv-set.c: Likewise.
Bruno Haible 682a983b 2010-06-14T01:53:49 relocatable: Make it easier to test whether to install wrappers.
Bruno Haible 52cdcbe3 2010-06-13T15:57:16 gnulib-tool: Display specified modules and dependencies differently.
Bruno Haible 29786d01 2010-06-13T14:45:56 gnulib-tool: Align code of func_import and func_create_testdir.
Jim Meyering 692a15c5 2010-06-12T14:47:43 test-inttostr: avoid spurious failure on Solaris 9 * tests/test-inttostr.c (main): Skip the test when snprintf fails to accept "%ju". Reported by Bruno Haible.
Karl Berry 75ce01c4 2010-06-12T06:48:33 update from texinfo
Jim Meyering bfbd8227 2010-06-11T22:09:27 test-sys_socket: mark variables as used more readably * tests/test-sys_socket.c (main): Mark otherwise unused variables as "used" explicitly via (void) statement casts. This is more readable than using them in an artificial return expression. Suggestion from Bruno Haible.
Bruno Haible af5c3b38 2010-06-11T21:17:11 Avoid some more warnings from "gcc -Wwrite-strings".
Ralf Wildenhues e69a17d0 2010-06-11T19:03:33 init.sh: change framework_failure_ to fail with status 99, not 1 * tests/init.sh (framework_failure_): Exit 99, not 1. This informs automake's parallel-tests rule that this is an unexpected failure, even if the test is listed in XFAIL_TESTS.
Jim Meyering 7178c963 2010-06-11T17:31:04 test-inttostr: avoid warnings about 4-6KB literal strings * tests/test-inttostr.c: Don't use <assert.h>. Instead, ... Include "macros.h", for its definition of ASSERT. (CK): s/assert/ASSERT/ * modules/inttostr-tests (Files): Add macros.h.
Jim Meyering 0ae8d633 2010-06-11T13:41:31 init.sh: don't use $ME_ or skip_ before they are defined * tests/init.sh: Hoist definitions of $ME_ and skip_ to precede their first uses. Also hoist their companions: warn_, fail_, framework_failure_, $stderr_fileno. Prompted by a patch from Stefano Lattarini.
Jim Meyering ef5acf20 2010-06-11T11:26:31 test-sys_socket: avoid set-but-not-used warnings from gcc * tests/test-sys_socket.c (main): Use "i" and "x", in order to avoid warning about set-but-not-used variables.
Jim Meyering 9e1e9d8f 2010-06-11T11:03:54 test-xvasprintf: avoid 'const' discard warnings * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Use "const" when assigning from literal strings. (test_xasprintf): Add "void" in function argument list to placate -Wstrict-prototypes and to be consistent with test_xvasprintf above.
Jim Meyering d4ee8943 2010-06-11T09:50:29 tests: avoid compilation warnings in argmatch and exclude tests... in packages that define ARGMATCH_DIE_DECL, like coreutils. * tests/test-exclude.c [ARGMATCH_DIE_DECL]: Also declare the function. Since it always exits, declare with the "noreturn" attribute. * tests/test-argmatch.c: Likewise.
Jim Meyering 84746b2f 2010-06-11T09:27:19 tests: avoid 'const' discard warnings in mbsstr tests * tests/test-mbsstr1.c (main): Add "const" to avoid trivial warning. * tests/test-mbsstr2.c (main): Likewise.
Jim Meyering f2cde423 2010-06-11T09:15:16 test-verify: avoid warning from gcc's -Wmissing-declarations * tests/test-verify.c (function): Declare to be static.
Jim Meyering cc7a4e12 2010-06-11T09:08:47 test-inttostr.c: include <string.h> for use of strcmp * tests/test-inttostr.c: Include <string.h> for strcmp declaration.
Jim Meyering 85b6cb48 2010-06-11T08:50:08 test-linkat: avoid failed assertion on "other" architectures * tests/test-linkat.c: Include <sys/stat.h>, for declarations of stat, lstat, mkdir. Patch by John Rigby, to fix FTBFS on armel, powerpc, sparc: https://bugs.launchpad.net/bugs/591968
Jim Meyering ee9faa0f 2010-06-10T15:21:09 printf.m4: avoid autoconf's "Expanded Before Required" warning * m4/printf.m4 (gl_SNPRINTF_RETVAL_C99): Define using AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid the classic "Expanded Before Required" autoconf warning.
Ben Pfaff e04f62a9 2010-06-10T20:11:05 Replacement header templates are now named with ".in", not "_". * doc/gnulib-intro.texi: Correct.
Jim Meyering bab9a9d0 2010-06-10T18:35:59 inttostr-tests: depend on snprintf, not snprintf-posix * modules/inttostr-tests (Depends-on): Depend on snprintf, not snprintf-posix, to avoid this aclocal failure: missing file gnulib-tests/vasnprintf.c configure.ac:45: error: expected source file, required through \ AC_LIBSOURCES, not found
Karl Berry a94811cf 2010-06-10T06:22:36 autoupdate
Jim Meyering db74d417 2010-06-09T18:22:25 inttostr: add a new function, inttostr, and tests The namesake function was not available. The existence of the template file, inttostr.c makes its addition nontrivial. * lib/anytostr.c: Rename from inttostr.c. (anytostr): Rename from inttostr. * lib/inttostr.c: New file. * modules/inttostr (Files): Add anytostr.c. (Makefile.am): Set lib_SOURCES instead of ... * m4/inttostr.m4: Remove uses of AC_LIBOBJ. * lib/imaxtostr.c: Update use. s/inttostr/anytostr/ * lib/offtostr.c: Likewise. * lib/uinttostr.c: Likewise. * lib/umaxtostr.c: Likewise. * modules/inttostr-tests: New file. * tests/test-inttostr.c: New file. Test these functions.
Ben Pfaff 47e899ad 2010-06-09T20:53:13 Add "Extending Gnulib" chapter to manual. * doc/gnulib.texi (Writing Modules): Add cross-reference to new chapter. (Extending Gnulib): New chapter. * doc/gnulib-intro.texi (Openness): Add cross-reference to new chapter.
Bruno Haible 16290063 2010-06-09T15:30:40 Avoid relocwrapper link errors due to gnulib replacement functions.
Bruno Haible fc06be3f 2010-06-09T12:47:59 Avoid relocwrapper link errors due to gnulib replacement functions.
Bruno Haible c1c9ce97 2010-06-05T03:46:32 Prefer documented low-level autoconf macro names.
Martin Lambers ccd17a74 2010-06-05T03:29:00 havelib: Allow library names with '+' characters.
Bruno Haible 7c59efd8 2010-06-09T12:40:40 Module setenv does not depend on 'malloc-posix', 'realloc-posix'.
Peter Simons 296be6b6 2010-06-07T15:24:21 maint.mk: make the news-check rule more configurable * top/maint.mk (news-check-lines-spec) New variable. (news-check): Use "sed -n 1,10p" in place of "head".
Jim Meyering 8db9005b 2010-06-07T09:06:42 do-release-commit-and-tag: fix typo in --help * build-aux/do-release-commit-and-tag (Usage): Fix typo in --help.
Jim Meyering 7873eb96 2010-06-07T07:58:49 regex: avoid new dead-code warning with gcc-4.6.0 * lib/regex_internal.c (re_string_reconstruct): #if-0-out a dead if-block containing a while-loop. It's been unused for at least 5 years.
Bruno Haible 9f737c8f 2010-06-05T05:13:57 Mention Solaris limitation.
Bruno Haible 2c69dae3 2010-06-05T02:03:43 Update to GNU gettext 0.18.1.
Bruno Haible 74d50938 2010-06-04T00:21:14 Don't use AC_LIBOBJ with file names in subdirectories.
Bruno Haible 9d3af100 2010-06-03T23:54:36 Simplify gl_LIBUNISTRING_VERSION_CMP expansion.
Bruno Haible a01126f3 2010-06-03T21:46:41 Reduce dependencies.
Bruno Haible edb50540 2010-06-03T20:22:57 Reduce dependencies.
Bruno Haible 820ad111 2010-06-03T16:25:01 time: Undefine more broken macros.
Bruno Haible 08d1a3f5 2010-06-03T13:55:01 Choose among AC_DEFUN_ONCE, AC_DEFUN in a way that aclocal understands.
Eric Blake df6774c0 2010-06-02T11:08:06 time: work with mingw + pthreads-win32 library When using the pthreads-win32 library with mingw, struct timespec is available in <pthread.h>. Meanwhile, that header has some rather buggy macros for localtime_r and gmtime_r that interfere with proper gnulib replacement header actions. Tested in a cross-compilation environment: Fedora 13 with mingw32-gcc and mingw32-pthreads installed. * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Set new variable if timespec is defined only in pthread.h. * modules/time (Makefile.am): Substitute it. * lib/time.in.h (!TIME_H_DEFINES_STRUCT_TIMESPEC): Include <pthread.h>, when needed. (GNULIB_TIME_R): Undefine broken localtime_r and gmtime_r macros from the library. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible 2988c8c2 2010-06-01T01:26:32 Avoid expanding two macros in the wrong order.
Karl Berry bf9c9b72 2010-05-31T05:04:53 autoupdate
Ludovic Courtès 8ab5996c 2010-05-28T12:15:23 git-version-gen: take a sed script to transform the git tag * build-aux/git-version-gen (tag_sed_script): New variable. Use it to transform the output of "git describe" to the canonical form. * top/GNUmakefile (_curr-ver): Pass $(git-version-gen-tag-sed-script) as a second argument to `git-version-gen'.
Jim Meyering 8b4add2c 2010-05-27T13:33:04 maint.mk: also prohibit "#undef" of always-defined symbols * top/maint.mk (def_sym_regex): Handle #undef as well as #define. Allow more than one space before the symbol name. (sc_prohibit_always-defined_macros): Use grep's -E, now that the regexp uses alternation.
Eric Blake a1ca82b4 2010-05-26T11:53:58 correct ChangeLog
Eric Blake 6092793d 2010-05-26T11:47:22 maint.mk: avoid echo -e There are still other potentially non-portable uses of echo throughout this file, if $(ME) contains \ or starts with -, but this patch is a trivial step in the right direction. * top/maint.mk (gzip_rsyncable): Convert all uses of echo -* to printf. Reported by Matthias Bolte. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible c2683209 2010-05-25T21:37:23 Oops, typo in ChangeLog entry.
Bruno Haible 681846ce 2010-05-25T21:35:22 Update to GNU gettext 0.18, part 2.
Ralf Wildenhues daeb0e53 2010-05-25T07:22:43 Add missing include in test-pwrite.c. * tests/test-pwrite.c: Include string.h, for strcmp.
Bruno Haible 46da792f 2010-05-25T02:26:15 Mention requirement for Automake option 'subdir-objects'.
Bruno Haible d270926f 2010-05-24T23:00:42 Don't use conversion with transliteration in u{8,16,32}_strcoll.
Bruno Haible 5a0f3aa0 2010-05-24T22:06:22 Avoid a test failure on NetBSD 5.0.
Karl Berry 6257c6cf 2010-05-24T06:56:22 autoupdate
Bruno Haible bd2a15fd 2010-05-24T12:45:20 Adjust #include directive style.
Bruno Haible 5a4965c0 2010-05-24T12:23:03 regex: Don't require alloca.
Jim Meyering 7abd07c8 2010-05-23T21:57:32 test-renameat.c: include <sys/stat.h> * tests/test-renameat.c: Include <sys/stat.h>; required for definition of S_IS* macros.
Ben Pfaff bf776338 2010-05-23T12:02:39 Update maintainer documentation for 'relocatable-prog' module.
Bruno Haible e967460a 2010-05-23T18:03:16 git-merge-changelog: Enable --split-merged-entry by default.
Jim Meyering a4f094f6 2010-05-23T10:32:12 test-pwrite: do not leave behind a test file named "out" Revert commit d8fa18472a54c1cb2674c296b3d82443f234d5f7. The trivial-looking use of init.sh is really necessary. It ensures that the temporary file, "out", is created in a temporary directory, and removed upon termination. * tests/test-pwrite.sh: Re-add file. * modules/pwrite-tests: Reference it.
Ralf Wildenhues 16b34ac9 2010-05-23T10:05:31 Fix output redirection buglet in init.sh. * tests/init.sh: Fix redirection of stderr.
Karl Berry 504656bf 2010-05-22T17:38:21 update from texinfo
Karl Berry 250b8006 2010-05-21T08:28:16 autoupdate
Simon Josefsson 5c9bee12 2010-05-20T08:37:18 modules/valgrind-tests (configure.ac): Invoke gl_VALGRIND_TESTS.
Simon Josefsson e85c3f8f 2010-05-20T08:29:56 Add new module valgrind-tests.
Bruno Haible 75dc5a3d 2010-05-19T23:30:18 Clean up dead code in recent commit.
Bruno Haible 1fcaaedf 2010-05-19T22:11:00 Avoid valgrind error reports from libunistring.
Karl Berry 4969ef13 2010-05-19T07:11:42 autoupdate
Bruno Haible 1495c20d 2010-05-18T20:11:42 New module 'libunistring-optional'.
Richard Jones 68e3d00f 2010-05-18T17:52:12 doc: users.txt: list hivex * users.txt: Add hivex. 2010-05-18 Richard Jones <rjones@redhat.com>
Richard Jones 0f178efd 2010-05-18T16:52:35 doc: users.txt: list febootstrap * users.txt: Add febootstrap.
Karl Berry 883c82c7 2010-05-17T17:18:45 update from texinfo
Bruno Haible bfbec470 2010-05-17T22:04:41 Fix typo in ChangeLog entry.
Giuseppe Scrivano a6eaa8be 2010-05-17T15:26:42 bootstrap: fix an error when gnulib is not used as a git submodule * build-aux/bootstrap (gnulib_path): If its length is zero then assign "gnulib" to it. * build-aux/bootstrap: Redirect "git clone -h" stderr to stdout.
Bruno Haible 906e14dc 2010-05-16T23:49:00 Avoid autoconf warnings about AM_ICONV.
Bruno Haible 0bc56a30 2010-05-16T23:41:33 absolute-header: Make the macro usable in more situations.
James Youngman 5b4b2b8f 2010-05-16T22:40:14 doc: update users.txt
Jim Meyering 1a183f82 2010-05-16T22:30:00 init.sh: fix an error in the previous change; add more comments * tests/init.sh: Compare exit code in loop against 9, not 2. Patch by Bruno Haible. Make the two tests more similar by adding an empty "then" clause. Add comments.
Jim Meyering cfa7f85b 2010-05-16T18:34:08 init.sh: avoid unnecessary shell re-exec * tests/init.sh: Improve the re-exec-required check to first test the current shell. If it passes the test, do not search for a shell that does pass, and do not re-exec. This test is particularly contorted to avoid triggering misbehavior in Solaris 10's /bin/sh whereby any use of $(...) evokes a syntax error and causes immediate shell exit with status 2. Bruno Haible reported that the re-exec made it impossible to single-step through any init.sh-using script.
Bruno Haible a43e2416 2010-05-16T14:16:03 Fix collision between gnulib's and libintl's printf replacements.
Bruno Haible 67184821 2010-05-16T13:59:42 verify: Avoid skipping the test on openSUSE 11.0.
Karl Berry a7d7f459 2010-05-14T10:27:58 update from texinfo
Karl Berry 50cbc9dc 2010-05-13T16:47:49 autoupdate
Bruno Haible 6304a507 2010-05-13T19:22:39 Avoid useless warnings from G++.
Jim Meyering 122c7198 2010-05-11T18:49:29 maint.mk: tweak preceding change * top/maint.mk (gl_extract_significant_defines_): Make exclusion regexps tighter by anchoring at EOL, and make the new group "shy" for slightly decreased overhead.
Eric Blake 28e58203 2010-05-11T08:52:39 maint.mk: gnulib doesn't guarantee NSIG Gnulib conditionally defines NSIG to 32 for some platforms. But since NSIG is not mandated by standards, and there are platforms with 64 signals, we should not promise that NSIG is guaranteed. * top/maint.mk (gl_extract_significant_defines_): Exclude NSIG. Signed-off-by: Eric Blake <eblake@redhat.com>
Peter O'Gorman 34ccc009 2010-05-11T00:54:27 test-pwrite.c: Remove unused variable declaration.
Peter O'Gorman d8fa1847 2010-05-11T00:52:05 Remove useless test-pwrite.sh file.
Peter O'Gorman f0f1414d 2010-05-10T17:23:08 init.sh: fix a typo * tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization.
Jim Meyering 204e7fea 2010-05-10T09:29:09 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 -".
Jim Meyering 820c292d 2010-05-09T22:39:34 init.sh: enable MALLOC_PERTURB_ * tests/init.sh: Enable glibc's malloc-perturbing option.
Jim Meyering 9c827e02 2010-05-09T22:30:09 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.
Bruno Haible 190bf61e 2010-05-09T20:43:44 Update to GNU gettext 0.18.
Jim Meyering 880f2b69 2010-05-09T18:50:40 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.
Bruno Haible db2ebe9d 2010-05-09T18:51:48 acl: Avoid test failure on Cygwin-hosted mingw.