On Thu, 29 Jul 2021, Jeff Mears via curl-library wrote:
Another answer would be for libcurl to implement its own wcsdup, because it's just wcslen + Curl_cmalloc + memcpy.
Not being a Windows guy at all, this seems like the most reasonable way that doesn't introduce a new API and make things work transparently. Is there a downside with this?
Feel like making a PR? -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html