Commit d9c9d21d authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Copy strpbrk implementation from ntdll.

parent 3b0fb2b1
......@@ -2505,7 +2505,8 @@ MSVCRT_size_t __cdecl MSVCRT_strcspn(const char *str, const char *reject)
*/
char* __cdecl MSVCRT_strpbrk(const char *str, const char *accept)
{
return strpbrk(str, accept);
for (; *str; str++) if (strchr( accept, *str )) return (char*)str;
return NULL;
}
/*********************************************************************
......
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