Merge PAL's _wcslwr into _wcslwr_s (#43265)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Mon, 26 Oct 2020 19:31:35 +0000 (21:31 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 19:31:35 +0000 (20:31 +0100)
commitc107fa8f9190bede86fa655cf2ac8a7a62abf241
tree094c459c58b6d254f88d72f1333eb5f568537b57
parentc08ac77e677cb42a7f01785c6158519a4045ee38
Merge PAL's _wcslwr into _wcslwr_s (#43265)

In (non-palsuite) product code, `_wcslwr` is only used within PAL
inside `_wcslwr_unsafe()` method, which is exposed as `_wcslwr_s` for
PAL consumers. PR inlines the usage of `_wcslwr` in `_wcslwr_unsafe`
and fixes up PAL tests.
src/coreclr/src/pal/inc/mbusafecrt.h
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/inc/rt/palrt.h
src/coreclr/src/pal/src/CMakeLists.txt
src/coreclr/src/pal/src/cruntime/wchar.cpp
src/coreclr/src/pal/src/safecrt/wcslwr_s.cpp [new file with mode: 0644]
src/coreclr/src/pal/tests/palsuite/CMakeLists.txt
src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr_s/test1/test1.cpp [moved from src/coreclr/src/pal/tests/palsuite/c_runtime/_wcslwr/test1/test1.cpp with 64% similarity]
src/coreclr/src/pal/tests/palsuite/compilableTests.txt
src/coreclr/src/pal/tests/palsuite/paltestlist.txt