mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:22:58 +00:00
Sync with trunk r63270.
svn path=/branches/shell-experiments/; revision=63271
This commit is contained in:
commit
8db8073cbb
452 changed files with 42806 additions and 6586 deletions
|
@ -432,7 +432,7 @@ INT CDECL wcsncat_s(wchar_t *dst, size_t elem,
|
|||
}
|
||||
if (dststart == elem)
|
||||
{
|
||||
MSVCRT_INVALID_PMT("dst[elem] is not NULL terminated\n");
|
||||
MSVCRT_INVALID_PMT("dst[elem] is not NULL terminated\n", EINVAL);
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
|
@ -453,7 +453,7 @@ INT CDECL wcsncat_s(wchar_t *dst, size_t elem,
|
|||
dst[dststart+srclen] = '\0';
|
||||
return ret;
|
||||
}
|
||||
MSVCRT_INVALID_PMT("dst[elem] is too small");
|
||||
MSVCRT_INVALID_PMT("dst[elem] is too small", ERANGE);
|
||||
dst[0] = '\0';
|
||||
return ERANGE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue