Merge branch 'master' into cde-next

This commit is contained in:
Jon Trulson
2018-06-24 15:46:55 -06:00
5 changed files with 48 additions and 9 deletions

View File

@@ -729,13 +729,13 @@ FindDialog::compareMessage(DtMailMessageHandle handle)
return(found);
}
#if !defined(CSRG_BASED) && !defined(__linux__) && !defined(sun)
#if !defined(CSRG_BASED) && !defined(__linux__)
//
// See if string 'toFind' is anyware in string 'str'.
// A case-insensitive version of strstr().
//
static const char *
strcasestr(const char *str, const char *toFind)
FindDialog::strcasestr(const char *str, const char *toFind)
{
const char *result = NULL; // Default to not found.

View File

@@ -102,6 +102,11 @@ private:
Boolean compareMessage(DtMailMessageHandle handle);
#if !defined(CSRG_BASED) && !defined(__linux__)
static const char * strcasestr(const char *str,
const char *toFind);
#endif
Boolean compareHeader(DtMailEnv & error,
DtMailValueSeq & seq,
const char * cmpToString);