X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fstring.c;h=a208070547ea8706d49bcf15632d4a6e719f7621;hb=bf13aee1aa701b1d838a09abd25ded986069e2ef;hp=a954396512723624ff777e457789e84f9dfd1641;hpb=c3aefacc72991f4960486052775ab47cd83c5fae;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/string.c b/src/src/string.c index a95439651..a20807054 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -411,7 +411,8 @@ return ss; -#ifdef HAVE_LOCAL_SCAN +#if (defined(HAVE_LOCAL_SCAN) || defined(EXPAND_DLFUNC)) \ + && !defined(MACRO_PREDEF) && !defined(COMPILE_UTILITY) /************************************************* * Copy and save string * *************************************************/ @@ -432,7 +433,7 @@ As above, but explicitly specifying the result taint status */ uschar * -string_copy_taint(const uschar * s, BOOL tainted) +string_copy_taint_function(const uschar * s, BOOL tainted) { int len = Ustrlen(s) + 1; uschar *ss = store_get(len, tainted); @@ -664,7 +665,7 @@ return yield; *************************************************/ /* The formatting is done by string_vformat, which checks the length of -everything. +everything. Taint is taken from the worst of the arguments. Arguments: format a printf() format - deliberately char * rather than uschar *