mirror of https://github.com/acidanthera/audk.git
5a5221122b
DecodeOneStateful: Properly handle combinations of Src, Dest, or Len being NULL or 0. EncodeUtf8: Do not zero-terminate the result string in this worker function. mbsrtowcs: Remove test for **src == '\0', as per ISO/IEC 9899:199409. Allows "". wcsrtombs: The C Language standard, ISO/IEC 9899:199409, states that the wcsrtombs() function will stop before encountering the terminating NUL character only if Dest is NOT NULL. This implies that if Dest is NULL, the Limit parameter will be ignored. In order to avoid system hangs, if Dest is NULL a Limit value of ASCII_STRING_MAX is automatically used. Also fixed a typo in the function header comment. With these changes, StdLib now passes all of the C Language Standards Compliance Tests for ISO/IEC 9899:199409 (C95). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: erik.c.bjorge@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14358 6f19259b-4bc3-4df7-8a09-765794883524 |
||
---|---|---|
.. | ||
Locale.inf | ||
__mb_cur_max.c | ||
__wctoint.h | ||
_def_messages.c | ||
_def_monetary.c | ||
_def_numeric.c | ||
_def_time.c | ||
_wcstod.h | ||
_wcstol.h | ||
_wcstoul.h | ||
aliasname.c | ||
aliasname_local.h | ||
ctypeio.c | ||
ctypeio.h | ||
iswctype_sb.c | ||
localeconv.c | ||
multibyte_Utf8.c | ||
multibyte_sb.c | ||
nl_langinfo.c | ||
rune.h | ||
runetype.h | ||
setlocale.c | ||
setlocale1.c | ||
setlocale32.c | ||
wcscoll.c | ||
wcsftime.c | ||
wcstod.c | ||
wcstof.c | ||
wcstoimax.c | ||
wcstol.c | ||
wcstold.c | ||
wcstoll.c | ||
wcstoul.c | ||
wcstoull.c | ||
wcstoumax.c | ||
wcsxfrm.c |