|
From: Paul F. <pa...@so...> - 2025-11-03 20:57:42
|
https://sourceware.org/cgit/valgrind/commit/?id=7b21f1225f51c1fbd7eed122eaa06bfd16809ba9 commit 7b21f1225f51c1fbd7eed122eaa06bfd16809ba9 Author: Paul Floyd <pj...@wa...> Date: Mon Nov 3 21:56:42 2025 +0100 Darwin: add redir for wcpncpy Diff: --- .gitignore | 2 +- shared/vg_replace_strmem.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fb2aec2427..cfd8c7bd8f 100644 --- a/.gitignore +++ b/.gitignore @@ -1050,7 +1050,7 @@ /memcheck/tests/wcscat /memcheck/tests/weirdioctl /memcheck/tests/with space -/memcheck/tests/wcpncpy +/memcheck/tests/wcpncpy1 /memcheck/tests/wcsncpy /memcheck/tests/wmemcmp /memcheck/tests/wrap1 diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index aaa4092570..6cc26d9a82 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -2425,6 +2425,8 @@ static inline void my_exit ( int x ) #if defined(VGO_linux) || defined(VGO_freebsd) || defined(VGO_solaris) WCPNCPY(VG_Z_LIBC_SONAME, wcpncpy) +#elif defined(VGO_darwin) + WCPNCPY(libsystemZucZddylib, wcpncpy) #endif /*----------------------- wcscat ----------------------*/ |