From 0caca71ac95d12c6f45bbbe39d9adb7ac7074146 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 15 May 2008 04:42:20 +0000 Subject: * string/Makefile (distribute): Add str-two-way.h. 2008-03-29 Eric Blake Rewrite string searches to O(n) rather than O(n^2). * string/str-two-way.h: New file. For linear fixed-allocation string searching. * string/memmem.c: New implementation. * string/strstr.c: New implementation. * string/strcasestr.c: New implementation. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init --- string/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'string/Makefile') diff --git a/string/Makefile b/string/Makefile index ccdc497..a15ae14 100644 --- a/string/Makefile +++ b/string/Makefile @@ -55,7 +55,8 @@ tests := tester inl-tester noinl-tester testcopy test-ffs \ tst-strtok tst-strxfrm bug-strcoll1 tst-strfry \ bug-strtok1 $(addprefix test-,$(strop-tests)) \ bug-envz1 tst-strxfrm2 tst-endian -distribute := memcopy.h pagecopy.h tst-svc.expect test-string.h +distribute := memcopy.h pagecopy.h tst-svc.expect test-string.h \ + str-two-way.h include ../Rules -- cgit v1.1