with the original name. */
# define string_copy(s) string_copy_function(s)
with the original name. */
# define string_copy(s) string_copy_function(s)
-# define string_copyn(s, n) string_copyn_function(s, n)
+# define string_copyn(s, n) string_copyn_function((s), (n))
+# define string_copy_taint(s, t) string_copy_taint_function((s), (t))
extern uschar * string_copy_function(const uschar *);
extern uschar * string_copyn_function(const uschar *);
extern uschar * string_copy_function(const uschar *);
extern uschar * string_copyn_function(const uschar *);
+extern uschar * string_copy_taint_function(const uschar *);
#endif
/* End of local_scan.h */
#endif
/* End of local_scan.h */
+#if defined(HAVE_LOCAL_SCAN) && !defined(MACRO_PREDEF) && !defined(COMPILE_UTILITY)
/*************************************************
* Copy and save string *
*************************************************/
/*************************************************
* Copy and save string *
*************************************************/
-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);
{
int len = Ustrlen(s) + 1;
uschar *ss = store_get(len, tainted);
# TLS resumption is not always supported by the build
next if /in tls_resumption_hosts\?/;
# TLS resumption is not always supported by the build
next if /in tls_resumption_hosts\?/;
+ # Most builds are without HAVE_LOCAL_SCAN
+ next if /^calling local_scan(); timeout=300$/;
+ next if /^local_scan() returned 0 NULL$/;
+
# Platform differences in errno strings
s/ SMTP\(Operation timed out\)<</ SMTP(Connection timed out)<</;
# Platform differences in errno strings
s/ SMTP\(Operation timed out\)<</ SMTP(Connection timed out)<</;