memory: stop overriding unused wcsdup()/_wcsdup() system functions

Also ban them via `checksrc`.

The code continues to use `_tcsdup()`.

Assisted-by: Daniel Stenberg

Closes #17840
This commit is contained in:
Viktor Szakats 2025-07-07 11:46:26 +02:00
parent 7ae44fa9b9
commit ef2ccf862f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 2 additions and 10 deletions

View file

@ -65,6 +65,8 @@ my %banfunc = (
"_tcsncat" => 1,
"_wcscat" => 1,
"_wcsncat" => 1,
"_wcsdup" => 1,
"wcsdup" => 1,
"LoadLibrary" => 1,
"LoadLibraryA" => 1,
"LoadLibraryW" => 1,