modules


Log

Author Commit Date CI Message
Bruno Haible 97b56453 2008-03-11T05:36:15 Correct the va_copy definition for AIX 5.
Bruno Haible 83f097cf 2008-03-11T05:25:50 Fix commit from 2007-06-20.
Bruno Haible 03400ebf 2008-03-10T00:23:20 Extend freadptr to return also the buffer size.
Bruno Haible 679b14d8 2008-03-07T03:34:46 Make fflush after ungetc work on BSD platforms.
Eric Blake f9e70e3e 2008-03-06T19:18:38 Likewise for ftello. * modules/ftello (Dependencies): Add extensions. * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 8e9b3595 2008-03-06T23:19:33 Ensure that fseeko is declared when possible.
Simon Josefsson 764a7485 2008-03-06T12:06:19 Change license to unlimited for func module.
Simon Josefsson b4feec41 2008-03-06T12:01:44 Rename __func__ module to func. Suggested by Eric Blake <ebb9@byu.net>.
Simon Josefsson 5e4c2e5a 2008-03-04T15:37:59 Add module __func__ to provide C99 __func__ variable.
Simon Josefsson f90666c1 2008-03-05T12:21:47 Re-license byteswap to LGPLv2+.
Simon Josefsson 83ab3c0e 2008-03-05T10:58:52 Use unlimited license for inline module.
Jim Meyering 7dd49d28 2008-02-18T14:12:07 Remove useless "if" tests before free. Deprecate "free" module. * doc/posix-functions/free.texi: Mention that this module is no longer useful. * modules/free (Notice): Say this module is obsolete. * modules/readutmp (Depends-on): Remove free. * lib/save-cwd.c (free_cwd): Remove useless "if" before free. * lib/putenv.c (putenv): Likewise. * lib/gc-gnulib.c (gc_cipher_close): Likewise. * lib/getaddrinfo.c (freeaddrinfo): Likewise. * tests/test-c-strcasestr.c (main): Likewise. * tests/test-c-strstr.c (main): Likewise. * tests/test-mbscasestr1.c (main): Likewise. * tests/test-mbscasestr2.c (main): Likewise. * tests/test-mbsstr1.c (main): Likewise. * tests/test-mbsstr2.c (main): Likewise. * tests/test-memmem.c (main): Likewise. * tests/test-strcasestr.c (main): Likewise. * tests/test-striconv.c (main): Likewise. * tests/test-striconveh.c (main): Likewise. * tests/test-striconveha.c (main): Likewise. * tests/test-strstr.c (main): Likewise.
Eric Blake f91b9f97 2008-03-01T06:54:29 New module 'memchr2'. * modules/memchr2: New file. * modules/memchr2-tests: Likewise. * lib/memchr2.h: Likewise. * lib/memchr2.c: Likewise, based on memchr.c. * tests/test-memchr2.c: New test. * MODULES.html.sh (String handling): Add memchr2. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible ba35bf7e 2008-02-29T10:31:01 Tests for module 'freadseek'.
Bruno Haible e9ad5470 2008-02-29T10:29:38 New module 'freadseek'.
Bruno Haible 4bf3a252 2008-02-28T13:21:06 Tests for module 'freadptr'.
Bruno Haible 56690adc 2008-02-28T13:19:17 New module 'freadptr'.
Bruno Haible 6e99bc97 2008-02-24T16:58:50 Tests for module 'environ'.
Bruno Haible 97f93a77 2008-02-24T16:57:02 Oops, forgot a dependency.
Bruno Haible 22eb7728 2008-02-24T16:40:15 New module 'environ'.
Bruno Haible 29b57c22 2008-02-18T02:41:03 Speed up from O(n^2) to O(n).
Bruno Haible 177498a1 2008-02-17T15:42:34 Support the "git pull --rebase" situation.
Eric Blake 05230b80 2008-02-12T11:42:29 Quotearg part 4: add tests, fix c-maybe colon quoting. * lib/quotearg.h: Improve documentation. * lib/quotearg.c (quotearg_buffer_restyled): Don't add extra escapes when adding outer quotes. When quoting trigraphs, use valid C notation. When quoting NUL, omit extra characters if next character is not digit. Alter prototype. (quotearg_buffer, quotearg_alloc_mem, quotearg_n_options): Adjust callers. * modules/quotearg-tests: New module. * tests/test-quotearg.c: New test. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 886f5e7f 2008-02-12T00:13:34 Improve reference to ./libgnu.a.
Bruno Haible 521cc733 2008-02-11T01:16:24 New module 'git-merge-changelog'.
Jim Meyering 2dc03a42 2008-02-10T17:15:06 New script and module: useless-if-before-free * MODULES.html.sh (maint+release support): Add useless-if-before-free. * build-aux/useless-if-before-free: New file. * modules/useless-if-before-free: New file.
Jim Meyering dffe356e 2008-02-09T14:35:33 New script and module: gitlog-to-changelog * MODULES.html.sh (maint+release support): Add gitlog-to-changelog. * modules/gitlog-to-changelog: New file. * build-aux/gitlog-to-changelog: New file.
Simon Josefsson e50ec111 2008-01-31T13:59:03 Add sha1 self test.
Jim Meyering 575ad1bd 2008-01-31T11:13:04 vc-list-files: new module * modules/vc-list-files: New module. * build-aux/vc-list-files: New file. * MODULES.html.sh (maint/rel Support): Add vc-list-files.
Bruno Haible b17d7ac7 2008-01-26T15:17:58 Rename isnan, applicable to 'double' only, to isnand.
Bruno Haible ce867563 2008-01-26T02:26:52 Exploit the __builtin_signbit GCC built-in.
Simon Josefsson 249ccd48 2008-01-25T11:52:09 Add self-test for sockets module.
Simon Josefsson bb2bf54f 2008-01-24T15:55:56 Add module sockets.
Simon Josefsson 3765bb11 2008-01-17T13:16:12 New module gethostname-tests.
Eric Blake 174af8a7 2008-01-16T20:35:00 Convert c-strcasestr to be more efficient. * modules/c-strcasestr (Files): Use Two-Way, not KMP. (Depends-on): Add c-strcase, remove malloca, strnlen. * tests/test-c-strcasestr.c (main): Enhance test. * lib/c-strcasestr.c (c_strcasestr): Rewrite to new algorithm. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 9c063a2a 2008-01-10T22:22:51 Convert strcasestr module to use Two-Way algorithm. * modules/strcasestr-simple: New module, based on the old strcasestr, but with Two-Way rather than KMP. * modules/strcasestr (Depends-on): Change to strcasestr-simple. * lib/string.in.h (rpl_strcasestr): Declare. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Check for linear performance. * lib/strcasestr.c (strcasestr): Simplify, and avoid malloc. * modules/string (Makefile.am): Support strcasestr. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Likewise. * modules/strcasestr-tests (Depends-on): Check for alarm. * tests/test-strcasestr.c: Augment test. * lib/str-two-way.h: Clean up stray macro. * NEWS: Document new module. * MODULES.html.sh (string handling): Likewise. * doc/functions/strcasestr.texi: New file. * doc/gnulib.texi (Function Substitutes): New node. Move memmem here, since it is not a POSIX function. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible f9462738 2008-01-15T02:25:14 Replace strsignal if it does not work fine.
Bruno Haible 32dd52c8 2008-01-14T23:43:46 Fix documentation of include file.
Colin Watson fab30d53 2008-01-14T23:35:44 Make the functions argp_error, argp_failure known to xgettext.
Colin Watson ec1d2ed4 2008-01-14T00:27:28 Tests for module 'strsignal'.
Colin Watson bd642010 2008-01-14T00:26:30 New module 'strsignal'.
Bruno Haible 321e8651 2008-01-11T03:57:18 Make c-strstr rely on strstr.
Eric Blake c358da1e 2008-01-10T12:06:35 Share two-way algorithm. * lib/str-two-way.h: New file, merged from... * lib/memmem.c: ...here... * lib/strstr.c: ...and here. * modules/memmem (Files): Use it. * modules/strstr (Files): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 96facb24 2008-01-10T07:38:11 Avoid quadratic strstr implementations. * lib/strstr.c: New file. * m4/strstr.m4: Likewise. * modules/strstr: Likewise. * modules/strstr-tests: Likewise. * tests/test-strstr.c: Likewise. * lib/string.in.h (rpl_strstr): Declare. (memmem) [GNULIB_POSIXCHECK]: Document speed issue. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Support strstr. * modules/string (Makefile.am): Likewise. * MODULES.html.sh (string handling): Mention new module. * doc/functions/strstr.texi (strstr): Document the bug. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 1e678e69 2008-01-10T02:52:02 Small tweaks to memmem module.
Bruno Haible 06cd74c1 2008-01-10T02:46:55 Work around OpenBSD 4.0 tdelete() bug.
Bruno Haible 2bb843df 2008-01-10T02:36:58 Fix test failure on OpenBSD 4.0.
Eric Blake f20c2f0b 2008-01-09T10:19:13 Add memmem-simple module. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): New macro. (gl_FUNC_MEMMEM): Separate performance from presence checks. * modules/memmem-simple: New file. * modules/memmem (Description): Tweak. * MODULES.html.sh (string handling): Mention it. * doc/functions/memmem.texi (memmem): Distinguish which flaws are addressed by memmem-simple. * NEWS: Document the difference. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake c01669e0 2008-01-08T17:15:27 Give gcc some memmem optimization hints. * lib/string.in.h (memmem, memrchr, strchrnul, strnlen, strpbrk) (strcasestr): Declare as pure. * modules/memmem (Maintainer): Claim my implementation. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 369c64d3 2008-01-09T01:17:12 Add missing module dependencies.
Eric Blake 9d8d6cd7 2008-01-05T14:09:11 Rewrite memmem to guarantee linear complexity without malloc. * lib/memmem.c (memmem): Use Two-Way rather than Knuth-Morris-Pratt, to allow O(1) space usage. (critical_factorization, two_way_short_needle) (two_way_long_needle): New functions. (knuth_morris_pratt): Delete. * modules/memmem (Depends-on): No longer need malloca or stdbool. Add stdint. * tests/test-memmem.c (main): Add tests for periodic needle and sublinear performance. * doc/functions/memmem.texi (memmem): Document other deficiencies in cygwin and older glibc. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 9ca9a0b2 2008-01-08T11:43:00 Remove unnecessary TESTS_ENVIRONMENT setting.
Simon Josefsson 5ea111c5 2008-01-08T09:09:18 Update localename-tests for setenv changes.
Eric Blake b25c432e 2008-01-05T04:47:05 Fix memmem test for mingw. * modules/memmem-tests (configure.ac): Check for alarm. * tests/test-memmem.c (main): Avoid alarm on platforms that lack it. * doc/functions/memmem.texi: New file. * doc/gnulib.texi (Function Substitutes): Add memmem. Reported by Bruno Haible. Signed-off-by: Eric Blake <ebb9@byu.net>
Simon Josefsson f5b1f897 2008-01-04T15:44:57 Modules intprops and string needed by relocatable-prog-wrapper.
Bruno Haible 7855e1e3 2007-12-31T11:57:16 Unify 5 copies of the KMP code.
Bruno Haible 666d3edd 2007-12-31T11:51:57 Ensure that 'glob' stays under LGPLv2+.
Bruno Haible 2f0e1c14 2007-12-31T11:51:15 Change license to LGPLv2+.
Martin Lambers e3e32d7b 2007-12-26T16:37:29 Override getpagesize on mingw.
Bruno Haible d5b3b06a 2007-12-26T16:33:48 The localcharset module requires a modified TESTS_ENVIRONMENT; tell the user.
Bruno Haible f0081f71 2007-12-26T16:31:08 Avoid using the syntax symbol() in formatted documentation.
Bruno Haible 3f443c98 2007-12-26T16:25:28 Fix link error in relocatability wrappers, due to xalloc_die().
Bruno Haible 81e61b22 2007-12-26T16:20:10 Split setenv module into setenv and unsetenv. Get rid of setenv.h.
Eric Blake fc068cf4 2007-12-19T16:09:03 Fix memmem to avoid O(n^2) worst-case complexity. * lib/memmem.c (knuth_morris_pratt): New function. (memmem): Use it if first few naive iterations fail. * m4/memmem.m4 (gl_FUNC_MEMMEM): Detect cygwin bug. * modules/memcmp (License): Set to LGPLv2+, not LGPL. * modules/memchr (License): Likewise. * modules/memmem (Depends-on): Add memcmp, memchr, stdbool, and malloca. * tests/test-memmem.c: Rewrite, borrowing ideas from test-mbsstr1.c; the old version wouldn't even compile! * modules/memmem-tests: New file. * lib/string.in.h (rpl_memmem): Add declaration. * modules/string (Makefile.am): Substitute REPLACE_MEMMEM. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Default for REPLACE_MEMMEM. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake b41a41b6 2007-12-17T21:50:40 Revert addition of verify, for BSD/OS. * lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it can't handle large files, for the sake of obsolete platforms. * modules/fseeko (Depends-on): Remove verify. * doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation. * doc/functions/ftello.texi (ftello): Likewise. * doc/functions/fgetpos.texi (fgetpos): Likewise. Reported by Larry Jones. Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering fecc3363 2007-12-14T19:46:26 Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc, which has no openat syscall, yet <fcntl.h> does define AT_FDCWD. * lib/getcwd.c: Undef AT_FDCWD if there is no openat function. * modules/getcwd (Depends-on): Add openat. Reported by Petr Salinger.
Eric Blake 661445a1 2007-12-13T14:58:44 Another fseek test. * tests/test-fseek.c (main): Also test ungetc handling. * tests/test-fseeko.c (main): Likewise. * modules/fseeko (Depends-on): Add verify. * lib/fseeko.c [!HAVE_FSEEKO]: Verify that off_t is not too large. Reported by Larry Jones. Signed-off-by: Eric Blake <ebb9@byu.net>
Paul Eggert 0a9d9877 2007-12-03T15:30:36 Add support for Solaris 10 ACLs. Also, ACLs are Gnulib, not Autoconf. * modules/acl (configure.ac): Rename AC_FUNC_ACL to gl_FUNC_ACL. * m4/acl.m4 (gl_FUNC_ACL): Renamed from AC_FUNC_ACL. On Solaris, put -lsec in even for programs other than 'ls'. This fixes a problem for gettext reported by Bruno Haible in <http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00007.html>. * lib/acl.c (copy_acl, qset_acl) [USE_ACL && defined ACL_NO_TRIVIAL]: Add support for Solaris 10. This isn't efficient, but should get the job done for now.
Bruno Haible 2321bc21 2007-12-03T12:57:05 Move declaration of getpagesize() from getpagesize.h to unistd.h.
Bruno Haible f894506e 2007-12-03T12:53:14 Tests for module 'strings'.
Bruno Haible a8c5982a 2007-12-03T12:50:59 Move declarations of str{,n}casecmp from <string.h> to <strings.h>.
Jim Meyering c14fcf5f 2007-11-28T18:25:36 * modules/physmem (License): Change from GPL to LGPLv2+.
Ralf Wildenhues c7038795 2007-11-25T17:09:25 * doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-3.0.texi: Sync from <http://gnu.org/licenses>. * modules/agpl-3.0, doc/agpl-3.0.texi: New module, with license text from same location. * doc/maintain.texi, doc/standards.texi: Sync from <http://savannah.gnu.org/projects/gnustandards>.
Paul Eggert fb87bcf5 2007-11-15T20:58:12 The license of gnu-make and posix-shell is now "GPLed build tool". * modules/gnu-make (License): Likewise. * modules/posix-shell (License): Likewise.
Paul Eggert 04f591db 2007-11-15T16:28:05 New module posix-shell, for determining a POSIX shell or perhaps something that is close enough to a POSIX shell. * m4/posix-shell.m4: New file. * modules/posix-shell: New file. * MODULES.html.sh: Mention new module.
Paul Eggert 7c1b8857 2007-11-15T15:52:13 New module gnu-make, for determining whether we're using GNU Make. * m4/gnu-make.m4: New file. * modules/gnu-make: New file. * MODULES.html.sh: Mention new module.
Paul Eggert 2fd369d0 2007-11-12T15:50:17 Don't insist on 'long long int' support in the preprocessor. It breaks too many things. For example, PRIdMAX still uses a 'long long int' format with the latest Sun compiler, even though HAVE_LONG_LONG_INT isn't defined due to that compiler's preprocessor problem. This causes the latest coreutils to dump core on Solaris 10 sparc with the Sun C compiler. Instead, fix the 2007-10-16 problem in a different way, by evaluating the troublesome expressions at configure-time, not at #if-time. * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): Don't test the preprocessor. * m4/inttypes.m4 (gl_INTTYPES_H): Move the #if checks into compile-time C checks, done at 'configure'-time. (gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION): New macro. * modules/inttypes (Makefile): Substitute the new symbols that gl_INTTYPES_H now generates. * lib/inttypes.in.h: Don't use constants wider than 'long' in #if.
Bruno Haible a635ca9c 2007-11-13T00:25:37 Tests for Unicode character classification functions.
Bruno Haible 5a6e55c1 2007-11-13T00:15:53 Unicode character classification functions.
Bruno Haible a179a84e 2007-11-12T01:39:22 New module 'gperf'.
Bruno Haible 13314b44 2007-11-11T14:17:22 Use the shared tests for the floor* and ceil* functions.
Bruno Haible 21e68e54 2007-11-11T13:58:25 Use REPLACE_ROUND instead of HAVE_DECL_ROUND.
Bruno Haible bf5ebbca 2007-11-07T02:12:43 Upgrade to gettext-0.17.
Bruno Haible 118e62dd 2007-11-06T00:27:27 Fix a compilation error of realloc.c on OSF/1 4.0d and similar bugs.
Bruno Haible 8073415b 2007-11-04T21:14:08 Use GL_NOCRASH, to avoid a crashreporter dialog box from a configure check.
Bruno Haible b908e234 2007-11-04T19:52:07 New module 'nocrash'.
Bruno Haible 252c176e 2007-11-04T10:32:29 relocatable.m4 needs lib-ld.m4.
Bruno Haible 7926b0fc 2007-11-03T17:00:19 New tests for modules 'test-fprintf-posix' and 'test-printf-posix'.
Bruno Haible 7cd87873 2007-11-03T16:52:20 Fix *printf behaviour in out-of-memory situations on MacOS X and *BSD.
Bruno Haible 0940559e 2007-11-03T16:36:58 Tests for module 'frexp-nolibm'.
Bruno Haible 70cc6595 2007-11-03T16:35:53 New module 'frexp-nolibm'.
Eric Blake 611869f3 2007-11-02T16:28:00 Fix xprintf tests on cygwin. * modules/xprintf-posix-tests (Makefile.am): Link against -lintl. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 2de77d62 2007-11-01T13:23:33 Define the putenv substitute in <stdlib.h> rather than in <config.h>.
Bruno Haible 1bdc3263 2007-10-31T12:55:02 Ensure AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT are consistent.
Bruno Haible 4b950a79 2007-10-31T02:27:41 New module 'xvasprintf-posix'.
Bruno Haible 8c5e6f23 2007-10-31T02:25:22 Tests for module 'xprintf-posix'.
Bruno Haible dff9289c 2007-10-31T02:23:50 New module 'xprintf-posix'.
Ralf Wildenhues c863647a 2007-10-30T07:05:41 Remove some temp files leftover from tests. * modules/fbufmode-tests (MOSTLYCLEANFILES): Remove temp files. * modules/freadable-tests (MOSTLYCLEANFILES): Likewise. * modules/fwritable-tests (MOSTLYCLEANFILES): Likewise.
Bruno Haible 28d9a006 2007-10-29T04:23:19 Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
Bruno Haible 81ba90be 2007-10-29T03:19:52 Fix link errors with Sun C 5.0 on Solaris 10.