msvcrt: Copy strcat 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
41a5da9b76
commit
f676355366
|
@ -463,7 +463,7 @@
|
||||||
@ cdecl sqrt(double) MSVCRT_sqrt
|
@ cdecl sqrt(double) MSVCRT_sqrt
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
@ cdecl strcoll(str str) MSVCRT_strcoll
|
@ cdecl strcoll(str str) MSVCRT_strcoll
|
||||||
|
|
|
@ -1795,7 +1795,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -2153,7 +2153,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -2363,7 +2363,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -809,7 +809,7 @@
|
||||||
@ cdecl sqrt(double) MSVCRT_sqrt
|
@ cdecl sqrt(double) MSVCRT_sqrt
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
@ cdecl strcoll(str str) MSVCRT_strcoll
|
@ cdecl strcoll(str str) MSVCRT_strcoll
|
||||||
|
|
|
@ -805,7 +805,7 @@
|
||||||
@ cdecl sqrt(double) MSVCRT_sqrt
|
@ cdecl sqrt(double) MSVCRT_sqrt
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
@ cdecl strcoll(str str) MSVCRT_strcoll
|
@ cdecl strcoll(str str) MSVCRT_strcoll
|
||||||
|
|
|
@ -1475,7 +1475,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -1448,7 +1448,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -1417,7 +1417,7 @@
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
@ varargs sscanf_s(str str) MSVCRT_sscanf_s
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
|
@ -1116,6 +1116,17 @@ int CDECL MSVCRT_strcat_s( char* dst, MSVCRT_size_t elem, const char* src )
|
||||||
return MSVCRT_ERANGE;
|
return MSVCRT_ERANGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*********************************************************************
|
||||||
|
* strcat (MSVCRT.@)
|
||||||
|
*/
|
||||||
|
char* __cdecl MSVCRT_strcat( char *dst, const char *src )
|
||||||
|
{
|
||||||
|
char *d = dst;
|
||||||
|
while (*d) d++;
|
||||||
|
while ((*d++ = *src++));
|
||||||
|
return dst;
|
||||||
|
}
|
||||||
|
|
||||||
/*********************************************************************
|
/*********************************************************************
|
||||||
* strncat_s (MSVCRT.@)
|
* strncat_s (MSVCRT.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -761,7 +761,7 @@
|
||||||
@ cdecl sqrt(double) MSVCRT_sqrt
|
@ cdecl sqrt(double) MSVCRT_sqrt
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ varargs sscanf(str str) MSVCRT_sscanf
|
@ varargs sscanf(str str) MSVCRT_sscanf
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
@ cdecl strcoll(str str) MSVCRT_strcoll
|
@ cdecl strcoll(str str) MSVCRT_strcoll
|
||||||
|
|
|
@ -2494,7 +2494,7 @@
|
||||||
@ cdecl sqrt(double) MSVCRT_sqrt
|
@ cdecl sqrt(double) MSVCRT_sqrt
|
||||||
@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf
|
@ cdecl -arch=!i386 sqrtf(float) MSVCRT_sqrtf
|
||||||
@ cdecl srand(long) MSVCRT_srand
|
@ cdecl srand(long) MSVCRT_srand
|
||||||
@ cdecl strcat(str str) ntdll.strcat
|
@ cdecl strcat(str str) MSVCRT_strcat
|
||||||
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
@ cdecl strcat_s(str long str) MSVCRT_strcat_s
|
||||||
@ cdecl strchr(str long) MSVCRT_strchr
|
@ cdecl strchr(str long) MSVCRT_strchr
|
||||||
@ cdecl strcmp(str str) MSVCRT_strcmp
|
@ cdecl strcmp(str str) MSVCRT_strcmp
|
||||||
|
|
Loading…
Reference in New Issue