modules/memchr


Log

Author Commit Date CI Message
Bruno Haible 0447803a 2011-05-21T14:46:30 memchr: Respect rules for use of AC_LIBOBJ. * m4/memchr.m4 (gl_FUNC_MEMCHR): Move AC_LIBOBJ and gl_PREREQ_MEMCHR invocations from here... * modules/memchr (configure.ac): ... to here.
Bruno Haible e3a7a9fd 2011-04-25T19:43:59 strnlen: Avoid memchr related link error on old obsolete platforms. * modules/memchr-obsolete: New file. * m4/memchr-obsolete.m4: New file. * m4/memchr.m4 (gl_FUNC_MEMCHR): Don't check whether memchr exists if gl_FUNC_MEMCHR_OBSOLETE is not also defined. * modules/memchr (Depends-on): Add memchr-obsolete. * modules/strnlen (Depends-on): Likewise. * doc/posix-functions/memchr.texi: Mention module memchr-obsolete.
Simon Josefsson 4902acb2 2009-11-06T14:37:15 modules/memchr (Depends-on): Drop getpagesize dependency.
Eric Blake dcc2f67b 2009-06-15T11:04:21 memchr, memchr2: add valgrind exception * lib/memchr.valgrind: New file. * lib/memchr2.valgrind: New file. * modules/memchr (Files): Distribute valgrind file. * modules/memchr2 (Files): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 7cf183c3 2009-06-08T06:29:17 memchr: detect broken x86_64 and alpha implementations * modules/memchr-tests (Depends-on): Move mmap detection... * modules/memchr (Depends-on): ...here. (configure.ac): Set indicator. * lib/string.in.h (memchr): Declare replacement. * modules/string (Makefile.am): Trigger replacement. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Likewise. * m4/memchr.m4 (gl_FUNC_MEMCHR): Use mmap to detect platform bugs. * doc/posix-functions/memchr.texi (memchr): Document the bug. * modules/getpagesize (License): Relax license. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 5030430b 2009-06-08T06:11:16 memchr: no longer obsolete, for wider field testing * modules/memchr (Status, Notice): Delete, this module is no longer obsolete. * modules/vasnprintf (Depends-on): Add memchr. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible e7221a5e 2008-11-02T16:34:09 Mark 'memchr' obsolete.
Eric Blake 8b8527c5 2008-04-28T10:24:14 Remove intprops dependency. * modules/memchr (Depends-on): Remove intprops. * modules/memrchr (Depends-on): Likewise. * modules/memchr2 (Depends-on): Likewise. * lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check. * lib/memrchr.c (__memrchr): Likewise. * lib/memrchr2.c (memchr2): Likewise. Reported by Simon Josefsson. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 945223b6 2008-04-26T12:38:15 Optimize parallel detection of matching bytes.
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>
Bruno Haible 5eeec029 2006-10-13T12:40:22 gnulib-tool now synthesizes the EXTRA_DIST line.
Bruno Haible e8684643 2006-10-12T18:52:30 Distribute all lib/* source files through EXTRA_DIST.
Bruno Haible 5143f4e9 2004-09-22T15:11:04 Add a license tag to every module.
Bruno Haible 6f99528a 2003-01-20T10:02:37 Add a Maintainer.
Bruno Haible 2e82f91f 2003-01-13T16:07:17 Add module descriptions.
Bruno Haible 740e9a30 2002-12-31T13:46:30 Module description.