7cdced87bd7680c51b327560aff3bb3cf414733a max Sat Oct 23 08:59:02 2021 -0700 Fixing the broken build for max, some little bits not checked in. diff --git src/inc/common.h src/inc/common.h index ae03895..fa222e8 100644 --- src/inc/common.h +++ src/inc/common.h @@ -754,30 +754,33 @@ /******* Some stuff for processing strings. *******/ char *cloneStringZ(const char *s, int size); /* Make a zero terminated copy of string in memory */ char *cloneString(const char *s); /* Make copy of string in dynamic memory */ char *cloneLongString(char *s); /* Make clone of long string. */ char *catTwoStrings(char *a, char *b); /* Allocate new string that is a concatenation of two strings. */ +char *catThreeStrings(char *a, char *b, char *c); +/* Allocate new string that is a concatenation of three strings. */ + int differentWord(char *s1, char *s2); /* strcmp ignoring case - returns zero if strings are * the same (ignoring case) otherwise returns difference * between first non-matching characters. */ #define sameWord(a,b) (!differentWord(a,b)) /* Return TRUE if two strings are same ignoring case */ int differentWordNullOk(char *s1, char *s2); /* Returns 0 if two strings (either of which may be NULL) * are the same, ignoring case. Otherwise returns the * difference between the first non-matching characters. */ #define sameWordOk(a,b) (!differentWordNullOk(a,b))