Commit 431fca55 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp90: Add time_get<char>::do_get_monthname implementation.

parent 215ff448
......@@ -10152,8 +10152,17 @@ istreambuf_iterator_char* __thiscall time_get_char_do_get_monthname(const time_g
istreambuf_iterator_char *ret, istreambuf_iterator_char s, istreambuf_iterator_char e,
ios_base *base, int *err, struct tm *t)
{
FIXME("(%p %p %p %p %p) stub\n", this, ret, base, err, t);
return NULL;
int match;
TRACE("(%p %p %p %p %p)\n", this, ret, base, err, t);
if ((match = find_longest_match(&s, this->months)) != -1)
t->tm_mon = match / 2;
else
*err |= IOSTATE_failbit;
*ret = s;
return ret;
}
/* ?get_monthname@?$time_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@QBE?AV?$istreambuf_iterator@DU?$char_traits@D@std@@@2@V32@0AAVios_base@2@AAHPAUtm@@@Z */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment