mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +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
|
@ -109,8 +109,7 @@ int _tsearchenv_s(const _TCHAR* file, const _TCHAR* env, _TCHAR *buf, size_t cou
|
|||
{
|
||||
if (_tcslen(curPath) + 1 > count)
|
||||
{
|
||||
MSVCRT_INVALID_PMT("buf[count] is too small");
|
||||
*_errno() = ERANGE;
|
||||
MSVCRT_INVALID_PMT("buf[count] is too small", ERANGE);
|
||||
return ERANGE;
|
||||
}
|
||||
_tcscpy(buf, curPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue