summaryrefslogtreecommitdiff
path: root/lib/c-strcasestr.c
Commit message (Collapse)AuthorAgeFilesLines
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+1
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* update nearly all FSF copyright year lists to include 2009Jim Meyering2009-12-291-1/+1
| | | | | | | | | | | | | | | | | | The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
* Use spaces for indentation, not tabs.Bruno Haible2009-12-101-9/+9
|
* Convert c-strcasestr to be more efficient.Eric Blake2008-01-161-101/+44
| | | | | | | | | * 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>
* Unify 5 copies of the KMP code.Bruno Haible2007-12-311-122/+4
|
* Protect against integer overflow in malloca() calls.Bruno Haible2007-12-311-1/+1
|
* Add more comments about Knuth-Morris-Pratt algorithm.Bruno Haible2007-12-261-3/+36
|
* Change copyright notice from GPLv2+ to GPLv3+.Bruno Haible2007-10-071-5/+4
|
* Update after allocsa -> malloca renaming.Bruno Haible2007-06-091-4/+4
|
* Optimize memory allocation to use alloca when possible.Bruno Haible2007-02-121-2/+3
|
* Ensure O(n) worst-case complexity of c_strcasestr.Bruno Haible2007-02-111-0/+143
|
* Include <config.h> unconditionally.Bruno Haible2006-09-141-4/+2
|
* New module 'c-strcasestr'.Bruno Haible2005-10-111-0/+78