<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/compat/have_strcasestr.c, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-08-27T22:39:23Z</updated>
<entry>
<title>compat: probe for strcasestr more thoroughly</title>
<updated>2023-08-27T22:39:23Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2023-08-26T14:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a84dc2f7e64e70bd9696efe933671b2cbdfcd329'/>
<id>urn:sha1:a84dc2f7e64e70bd9696efe933671b2cbdfcd329</id>
<content type='text'>
Depending on compiler (gcc, g++, clang) and standard options (c99, c11),
string.h may or may not include strings.h, leading to possibly missing
or conflicting declarations of strcasestr.

Include both so that both detection and compilation phases use the same
(possibly optimised) implementations.

Suggested-by: Thomas Schneider &lt;qsx@chaotikum.eu&gt;
Suggested-by: Florian Weimer &lt;fweimer@redhat.com&gt;
Suggested-by: Tomi Ollila &lt;tomi.ollila@iki.fi&gt;
</content>
</entry>
<entry>
<title>compat: run uncrustify</title>
<updated>2019-06-14T10:41:27Z</updated>
<author>
<name>uncrustify</name>
<email>david@tethera.net</email>
</author>
<published>2019-06-13T10:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8099050c7191525c63b03e8b175620d2a2c1a9a3'/>
<id>urn:sha1:8099050c7191525c63b03e8b175620d2a2c1a9a3</id>
<content type='text'>
This is the result of running

     $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h

in the compat directory
</content>
</entry>
<entry>
<title>Add simplistic reimplementation of strcasestr to compat library</title>
<updated>2010-04-14T18:34:12Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@x200.gr8dns.org</email>
</author>
<published>2010-04-13T16:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d09154465aeae727e93a4abf54ff8f3bf0bdab76'/>
<id>urn:sha1:d09154465aeae727e93a4abf54ff8f3bf0bdab76</id>
<content type='text'>
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 &lt;hohndel@infradead.org&gt;

Tested-by: Tomas Carnecky &lt;tom@dbservice.com&gt; (on OpenSolaris snv_134)
</content>
</entry>
</feed>
