]> git.cworth.org Git - obsolete/notmuch-old/commit - compat/Makefile.local
Add simplistic reimplementation of strcasestr to compat library
authorDirk Hohndel <hohndel@x200.gr8dns.org>
Tue, 13 Apr 2010 16:47:48 +0000 (09:47 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 14 Apr 2010 18:34:12 +0000 (11:34 -0700)
commitd09154465aeae727e93a4abf54ff8f3bf0bdab76
tree9727f87261f668ab6d7d23302633387801e54c65
parent25f3185ad088673cb00f4f3ecba60cd9614bbc40
Add simplistic reimplementation of strcasestr to compat library

While all systems that I have access to support strcasestr, it is
in fact not part of POSIX. So here's a fallback reimplementation
based on POSIX functions.

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
Tested-by: Tomas Carnecky <tom@dbservice.com> (on OpenSolaris snv_134)
compat/Makefile.local
compat/compat.h
compat/have_strcasestr.c [new file with mode: 0644]
compat/strcasestr.c [new file with mode: 0644]
configure