msvcrt: Copy strpbrk implementation from ntdll.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3b0fb2b175
commit
d9c9d21d66
|
@ -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;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
|
|
Loading…
Reference in New Issue