Mercurial > hg > octave-nkf > gnulib-hg
view tests/test-printf-posix.output @ 9630:729b6d4ffac1
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>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 16 Jan 2008 20:35:00 -0700 |
parents | df0b5e8ea770 |
children | 9f8c455639fc |
line wrap: on
line source
12345671 33 12345672 33 12345673 33 0x0p+0 33 inf 33 -inf 33 inf 33 12.750000 33 1234567.000000 33 -0.031250 33 0.000000 33 00001234.000000 33 1234 33 12.750000 33 1234567.000000 33 -0.031250 33 0.000000 33 00001234.000000 33 1234 33 12.750000 33 1234567.000000 33 -0.031250 33 0.000000 33 00001234.000000 33 1234 33 12.750000 33 1234567.000000 33 -0.031250 33 0.000000 33 00001234.000000 33 1234 33 55 33