Gitweb:
https://git.exim.org/exim.git/commitdiff/7cacdf337888fda93352a7120a85e0536bc0eaf4
Commit: 7cacdf337888fda93352a7120a85e0536bc0eaf4
Parent: f59da709bd8a9653262b3fd5c6ddd47ee473f64a
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Nov 29 17:22:19 2024 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Fri Nov 29 17:23:33 2024 +0000
Build: avoid referencing stpcpy in non-core build elements
This should avoid a Solaris linker issue
---
src/src/functions.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/src/functions.h b/src/src/functions.h
index 85b10714e..8c47f536d 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -738,10 +738,12 @@ if (!is_tainted(dst) && is_tainted(src)) die_tainted(US"Ustrncpy", CUS func, lin
#endif
return US strncpy(CS dst, CCS src, n);
}
+#if !defined(COMPILE_UTILITY) && !defined(MACRO_PREDEF)
static inline uschar * Ustpcpy(uschar * dst, const uschar * src)
{
return US stpcpy(CS dst, CCS src);
}
+#endif
/*XXX will likely need unchecked copy also */
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/