std.cfg: Fixed configuration of mbstowcs

This commit is contained in:
Daniel Marjamäki 2021-04-03 10:42:24 +02:00
parent e09e393503
commit 9ce0235e8e
2 changed files with 4 additions and 1 deletions

View File

@ -2364,7 +2364,7 @@
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="out">
<not-uninit indirect="1"/>
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>

View File

@ -1759,6 +1759,9 @@ void uninitvar_mbstowcs(wchar_t* d, const char* s, size_t m)
// No warning is expected
(void)mbstowcs(d,s,m);
wchar_t buf[100];
(void)mbstowcs(buf,s,100);
}
void uninitvar_mbsrtowcs(wchar_t* d, const char** s, size_t m, mbstate_t *p)