summaryrefslogtreecommitdiff
path: root/modules/strcasestr
Commit message (Collapse)AuthorAgeFilesLines
* strcasestr*: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-0/+4
| | | | | | | * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR): Move AC_LIBOBJ and gl_PREREQ_STRCASESTR invocations from here... * modules/strcasestr-simple (configure.ac): ... to here. * modules/strcasestr (configure.ac): ... and here.
* Oops, move dependency to 'memchr'.Bruno Haible2008-11-021-1/+0
|
* Mark 'memchr' obsolete.Bruno Haible2008-11-021-0/+1
|
* Convert strcasestr module to use Two-Way algorithm.Eric Blake2008-01-141-9/+2
| | | | | | | | | | | | | | | | | | | | | | * 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>
* Unify 5 copies of the KMP code.Bruno Haible2007-12-311-0/+1
|
* Use the synonymous term LGPLv2.Bruno Haible2007-07-161-1/+1
|
* Update after allocsa -> malloca renaming.Bruno Haible2007-06-091-1/+1
|
* Optimize memory allocation to use alloca when possible.Bruno Haible2007-02-121-0/+1
|
* Ensure O(n) worst-case complexity of strcasestr substitute.Bruno Haible2007-02-111-0/+2
|
* Addendum to last patch.Bruno Haible2007-02-051-2/+0
|
* Enforce the use of gnulib modules for unportable <string.h> functions.Bruno Haible2007-02-011-0/+1
|
* Declare strcasestr() in the <string.h> replacement, rather than inBruno Haible2007-01-271-2/+2
| | | | strcasestr.h.
* gnulib-tool now synthesizes the EXTRA_DIST line.Bruno Haible2006-10-131-1/+0
|
* Distribute all lib/* source files through EXTRA_DIST.Bruno Haible2006-10-121-1/+1
|
* New module 'strcasestr'.Bruno Haible2005-08-171-0/+27