modules


Log

Author Commit Date CI Message
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 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
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.
Bruno Haible 16290063 2010-06-09T15:30:40 Avoid relocwrapper link errors due to gnulib replacement functions.
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 a01126f3 2010-06-03T21:46:41 Reduce dependencies.
Bruno Haible edb50540 2010-06-03T20:22:57 Reduce dependencies.
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 d270926f 2010-05-24T23:00:42 Don't use conversion with transliteration in u{8,16,32}_strcoll.
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 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.
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 1fcaaedf 2010-05-19T22:11:00 Avoid valgrind error reports from libunistring.
Bruno Haible 1495c20d 2010-05-18T20:11:42 New module 'libunistring-optional'.
Bruno Haible a43e2416 2010-05-16T14:16:03 Fix collision between gnulib's and libintl's printf replacements.
Peter O'Gorman d8fa1847 2010-05-11T00:52:05 Remove useless test-pwrite.sh file.
Bruno Haible 190bf61e 2010-05-09T20:43:44 Update to GNU gettext 0.18.
Sergey Poznyakoff abe9c758 2010-05-06T23:18:34 exclude: Unescape hashed patterns in wildcard mode. * lib/exclude.c (add_exclude): Unescape the pattern before adding it to the hash list. * tests/test-exclude8.sh: New test case. * modules/exclude-tests: Add new test.
Eric Blake f4b47c93 2010-05-05T16:19:18 verify: automate tests Had we automated this sooner, we would have caught the issue with gcc -Werror -Wredundant-decls sooner. * modules/verify-tests: New module. * tests/test-verify.sh: New file. * tests/test-verify.c: Guard each negative test with a unique id. Also avoid warning about unused left hand of comma expressions. Signed-off-by: Eric Blake <eblake@redhat.com>
Peter O'Gorman ea1a2077 2010-05-05T21:14:11 Tests for module pwrite.
Peter O'Gorman b111537c 2010-05-05T21:09:38 New module pwrite.
Bruno Haible 3b1e7b98 2010-05-01T20:42:16 fpurge: Sharper test.
Bruno Haible 8de80003 2010-05-01T20:35:37 ftello: Another test.
Bruno Haible 13037c0c 2010-05-01T20:34:59 ftell: Another test.
Bruno Haible 55ca839e 2010-05-01T20:32:26 ftell, ftello: Work around Solaris bug.
Eric Blake d756f409 2010-04-29T13:40:19 headers: relax license to LGPLv2+ The replacement headers deserve relaxed licenses, even if the functions they declare cannot be accessed without a tighter license. See the list archives for consensus on this action. * modules/fcntl-h (License): Relax license. * modules/getopt-posix (License): Likewise. * modules/locale (License): Likewise. * modules/math (License): Likewise. * modules/pty (License): Likewise. * modules/sched (License): Likewise. * modules/search (License): Likewise. * modules/spawn (License): Likewise. * modules/stdarg (License): Likewise. * modules/sysexits (License): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
Jim Meyering f3d3c290 2010-04-29T10:56:13 inttypes: relax license to LGPLv2+ * modules/inttypes (License): Relax license.
Bruno Haible 6c680191 2010-04-28T19:17:54 getdate: Generate getdate.c in the source directory.
Eric Blake f726c6b3 2010-04-27T12:14:04 full-read, full-write: relax license Jim Meyering gave consent to this action: http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00446.html * modules/full-read (License): Drop to LGPLv2+. * modules/full-write (License): Likewise. * modules/safe-read (License): Likewise. * modules/safe-write (License): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
Eric Blake 06ca3d83 2010-04-27T11:38:51 pthread: mention library for linking * modules/pthread (Link): Mention $(LIB_PTHREAD). Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible ad8f1125 2010-04-26T10:25:56 netdb: Add support for GNULIB_POSIXCHECK.
Bruno Haible 64ee0bac 2010-04-26T00:18:10 ttyname_r: Make it work on Solaris 10.
Bruno Haible a731808a 2010-04-25T20:57:52 ttyname_r: Make it work on MacOS X 10.4 and Solaris 10.
Jim Meyering 1b260c90 2010-04-23T11:38:35 vc-list-files tests: convert to use init.sh * tests/test-vc-list-files-cvs.sh: Invoke "$srcdir/init.sh" and path_prepend_. Use Exit, not exit. Use skip_ rather than open coding it. Remove trap set-up and compare definitions. * tests/test-vc-list-files-git.sh: Likewise. * modules/vc-list-files-tests (Files): Add tests/init.sh.
Bruno Haible 93b28fe1 2010-04-19T22:24:13 ioctl: Move autoconf macro to a .m4 file.
Bruno Haible ae758937 2010-04-16T18:43:00 Override netdb.h always.
Eric Blake 7c1b995a 2010-04-14T13:03:38 strtok_r: relax license to LGPLv2+ strtok_r borrows from glibc, which is LGPLv2+; besides, the only major changes since 2007-10, when LGPLv3 became the default, were in commit 5985805, to work around a glibc header bug. * modules/strtok_r (License): Relax license. Reported by Matthias Bolte. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible 0167c192 2010-04-10T22:25:31 vasnprintf: Correct handling of unconvertible wide string arguments.
Bruno Haible ccf404b1 2010-04-10T11:29:14 strnlen: Fix warning in C++ mode on MacOS X.
Jim Meyering 950f3469 2010-04-09T10:44:23 ftruncate: mark module as obsolete; even MinGW provides it, now * modules/ftruncate (Status): Obsolete. (Notice): Say that. * doc/posix-functions/ftruncate.texi: Don't say MinGW lacks it. http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9203
Bruno Haible ba564f21 2010-04-09T02:02:15 Fix side effects from tests-related modules.
Bruno Haible 09623ecd 2010-04-07T00:26:31 Fix link error on mingw.
Bruno Haible 7b9c5e77 2010-04-05T21:17:47 Use the module 'strncat'.
Bruno Haible b9c0e5f6 2010-04-05T21:17:09 Tests for module 'strncat'.
Bruno Haible 097fd2f5 2010-04-05T21:14:58 New module 'strncat'.
Jim Meyering fb814d4c 2010-04-05T19:30:38 xstrtoumax-tests: convert to use init.sh * modules/xstrtoumax-tests (Files): Add tests/init.sh. * tests/test-xstrtoumax.sh: Invoke "$srcdir/init.sh" and path_prepend_. Use Exit, not exit. Remove uses of $EXEEXT and "./" to run a program in the current dir.
Jim Meyering 9c76fbee 2010-04-05T18:27:15 xstrtoimax-tests: convert to use init.sh * modules/xstrtoimax-tests (Files): Add tests/init.sh. * tests/test-xstrtoimax.sh: Invoke "$srcdir/init.sh" and path_prepend_. Use Exit, not exit. Remove uses of $EXEEXT and "./" to run a program in the current dir.
Jim Meyering 0165705e 2010-04-05T16:32:41 xstrtol-tests: convert to use init.sh * modules/xstrtol-tests (Files): Add tests/init.sh. * tests/test-xstrtol.sh: Invoke "$srcdir/init.sh" and path_prepend_. Use Exit, not exit. Remove uses of $EXEEXT and "./" to run a program in the current dir.
Jim Meyering 5c92acef 2010-04-05T16:12:55 atexit-tests: convert to use init.sh * modules/atexit-tests (Files): Add tests/init.sh. * tests/test-atexit.sh: Invoke "$srcdir/init.sh" and path_prepend_. Use Exit, not exit. Remove uses of $EXEEXT and "./" to run a program in the current dir.
Bruno Haible 1e5dc68d 2010-04-05T16:14:47 Fix link error on Solaris 8 with cc.
Bruno Haible 3e51bfce 2010-04-05T13:12:59 memchr: Avoid a possible C++ test error.
Bruno Haible 93679bd8 2010-04-04T23:41:29 string: Remove unused substitution.
Bruno Haible de6abddc 2010-04-04T19:59:32 math: Fix some C++ test errors on Cygwin.
Bruno Haible 7a955f75 2010-04-04T16:26:00 Rename gl_TMPFILE.
Bruno Haible ff25f0e9 2010-04-04T15:37:40 tmpfile: Fix C++ test error on mingw.
Bruno Haible 5bc553f7 2010-04-04T02:12:01 nanosleep: Fix C++ test error on mingw.
Bruno Haible 3361b6d4 2010-04-03T20:23:47 strptime: Fix C++ test error on mingw.
Bruno Haible 1ecf90d3 2010-04-03T19:15:04 timegm: Fix C++ test error on mingw.
Bruno Haible 40b24388 2010-04-03T18:52:49 time_r: Fix C++ test error on mingw.
Bruno Haible 1349ff1c 2010-04-03T18:43:42 time_r: Minor updates.
Bruno Haible c51b01fd 2010-04-03T15:59:25 fchdir: Fix regression introduced on 2010-03-08.
Bruno Haible e25c6d9c 2010-04-03T15:43:45 getpagesize: Fix C++ test error on mingw.
Bruno Haible 1dea0e3d 2010-04-03T14:25:24 ftello: Fix C++ test error on mingw.
Bruno Haible 7434004b 2010-04-03T14:08:25 fseeko: Fix C++ test error on mingw.
Bruno Haible eea8c922 2010-04-03T13:44:41 mkstemp: Fix C++ test error on mingw.
Bruno Haible f550ae27 2010-04-03T13:21:17 stpncpy: Fix C++ test error on mingw.
Bruno Haible 1fe92775 2010-04-02T18:09:43 Tests for module 'havelib', moved here from GNU gettext.
Eric Blake 497bb5fc 2010-03-29T15:08:59 fdopendir: work around FreeBSD bug Without a declaration, at least tar would core dump on 64-bit FreeBSD because gcc only used 32 bits of the resulting pointer. * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): New witness. * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Set it. * modules/dirent (Makefile.am): Substitute it. * lib/dirent.in.h (fdopendir): Supply missing FreeBSD declaration. * doc/posix-functions/fdopendir.texi (fdopendir): Document the fix. Reported by Christian Weisgerber <naddy@mips.inka.de>. Signed-off-by: Eric Blake <eblake@redhat.com>
James Youngman 7dfa1250 2010-03-29T12:30:23 save-cwd: don't leak a file descriptor when the caller execs * lib/save-cwd.c (save_cwd): set the close-on-exec flag for the saved file descriptor. * modules/save-cwd (Depends-on): Depend on cloexec.
Bruno Haible 6e0a75f9 2010-03-29T10:41:20 Remove vestiges of fts-lgpl module.
Bruno Haible 2169eadd 2010-03-29T02:27:39 Fix ioctl's protoype on glibc systems.
Bruno Haible b771954f 2010-03-28T19:39:32 Remove unused GNULIB_XYZ macro definitions.
Bruno Haible aae58b6f 2010-03-28T19:15:43 Mark privileged tests modules.
Bruno Haible 01b63fe9 2010-03-28T19:07:33 Split C++ tests into separate tests modules.
Bruno Haible 2f8144ca 2010-03-28T14:21:28 Fix link errors on mingw.
Bruno Haible eaed10f9 2010-03-28T01:48:22 Remove unused GNULIB_XYZ macro definitions.
Bruno Haible 0d70b29e 2010-03-28T01:37:25 Add a remark about certain modules.
Bruno Haible e016983c 2010-03-28T01:29:52 Resolve conflict between the two kinds of module indicators.
Bruno Haible cd21604b 2010-03-28T00:31:39 Distinguish two kinds of module indicators.
Bruno Haible d2308903 2010-03-27T20:52:28 New module description field 'Comment'.
Bruno Haible c7431c1a 2010-03-27T14:02:37 Rename gl_GETLOGIN.
Bruno Haible a2b7dc18 2010-03-27T14:01:58 Rename gl_GETLOGIN_R.
Bruno Haible 17fdfe31 2010-03-27T14:01:23 Rename gl_INET_NTOP.
Bruno Haible 0309ca34 2010-03-27T14:00:37 Rename gl_INET_PTON.
Bruno Haible 40825c75 2010-03-27T13:59:59 Rename gl_MBSLEN.
Bruno Haible 241118f5 2010-03-27T13:59:19 Rename gl_FORKPTY and gl_OPENPTY.
Bruno Haible 4cbc2a7a 2010-03-24T01:14:18 pt_chown: Make it work with automake < 1.11.
Bruno Haible af008e0f 2010-03-24T01:08:56 pt_chown: Don't depend on GPLed modules.
Bruno Haible eb8d73f9 2010-03-22T02:46:57 forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
Bruno Haible e665e401 2010-03-22T02:20:29 Use the common template. Make test stricter.
Bruno Haible 4897259d 2010-03-22T02:15:18 Use the common module description template.
Bruno Haible e6b310e3 2010-03-22T02:14:08 Tests for module 'login_tty'.
Bruno Haible c811030c 2010-03-22T02:13:15 New module 'login_tty'.
Bruno Haible c6681a77 2010-03-22T00:55:38 pty: Consistent macro naming.
Bruno Haible 4ed66169 2010-03-22T00:13:13 Tests for openpty: Make stricter.
Bruno Haible 0c36c316 2010-03-22T00:10:01 openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
Bruno Haible e6c527d5 2010-03-21T21:09:06 New module 'unlockpt'.