Use of strcasestr
Mikhail Gusarov
dottedmag at dottedmag.net
Mon Apr 12 13:18:07 PDT 2010
Twas brillig at 15:58:10 12.04.2010 UTC+02 when tom at dbservice.com did gyre and gimble:
TC> In 4fd9ea0 (guess From address from Received headers, 2010-04-06) you introduced
TC> strcasestr, which is not portable, see 82e47ec (notmuch reply: Use strstr
TC> instead of strcasestr for portability., 2010-02-04).
TC> Is strcasestr really necessary there or can it be replaced with strstr?
strcasecmp is POSIX.1-2001.
If you know any OS which does not have it, add a new file to compat/ subdir.
--
http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/dd30ea39/attachment.pgp>
More information about the notmuch
mailing list