From: Paul Floyd Date: Fri, 26 Jun 2026 11:19:02 +0000 (+0200) Subject: Darwin: add redir for wcscpy X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45ff79387c0aa160f74372ae87486f6a2d9bf9c4;p=thirdparty%2Fvalgrind.git Darwin: add redir for wcscpy The dhat copy test was failing because of this missing redir. Also I see that the same test does not cover wcsncpy or wcpncpy. Will add them to the test (and add macOS redirs if needed). --- diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index 62f631682..710170fda 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -2252,6 +2252,8 @@ static inline void my_exit ( int x ) #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) WCSCPY(VG_Z_LIBC_SONAME, wcscpy) +#elif defined(VGO_darwin) + WCSCPY(libsystemZucZaZddylib, wcscpy) #endif