Age | Commit message (Collapse) | Author | Files | Lines |
|
Never defined and obsolete
|
|
Everything in the runtime should use Invariant culture. It is not necessary to pass the locale arguments around.
|
|
unicodedata.cpp based on UnicodeData.txt v11.0.
|
|
|
|
Delete ENABLE_DOWNLEVEL_FOR_NLS and everything under it
|
|
This change removes all usages of vsnprintf and modifies runtime to not to use
vsnprintf or _vsnprintf
I've also fixed two issues in PAL TRACE function string format parameters that
caused crashes when I was trying to run all PAL tests with PAL tracing enabled.
|
|
This change removes _snwprintf, _snprintf and _vsnwprintf usage from CoreCLR and
their implementations from PAL.
PAL exposes their secure variants instead and CoreCLR now uses those instead.
I have also removed the StringCchPrintfA/W, StringCchVPrintfA/W, StringCbVPrintfA/W,
StringCbPrintfA/W, StringCbPrintfExA/W, StringCchVPrintfExA/W, StringCbVPrintfExA/W
and StringCchPrintfExA/W replaced their usage by the secure variants of the sprintf
functions, since they were used at only few places and implementing all of the variants
using the secure sprintf variants would be a hassle.
I also needed to fix a missing support for size modifiers for %p formatting character
and for wide characters / strings in the secure sprintf functions that was revealed
by the PAL tests.
I have also removed a bunch of PAL tests that were using %n formatting character which
was not implemented since it is considered unsafe and translated PAL tests that were using
the removed functions to use the safe variants of those.
|
|
|
|
va_copy is not available in the minimal Windows OS CRT
[tfs-changeset: 1412529]
|
|
SString will attempt to use va_list multiple times in the scenario where the
target buffer is not large enough. On platforms like OSX, va_arg modifies
the va_list, making these re-attempts overread and fault. The solution is to
va_copy the va_list prior to use, to ensure the original is maintained for
future use.
|
|
[tfs-changeset: 1407945]
|