From: Paul Floyd Date: Mon, 3 Nov 2025 20:56:42 +0000 (+0100) Subject: Darwin: add redir for wcpncpy X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b21f1225f51c1fbd7eed122eaa06bfd16809ba9;p=thirdparty%2Fvalgrind.git Darwin: add redir for wcpncpy --- diff --git a/.gitignore b/.gitignore index fb2aec242..cfd8c7bd8 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 aaa409257..6cc26d9a8 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 ----------------------*/