j
k
j a
j l
On Aug 5, 2017, at 10:43 AM, Piotr Caban piotr@codeweavers.com wrote:
+char* CDECL MSVCRT_strcpy(char *dst, const char *src) +{ char *ret = dst; while(1) { *dst = *src; if (!*src) break; src++; *dst++;
+char* CDECL MSVCRT_strcpy(char *dst, const char *src) +{
*dst = *src;
if (!*src) break;
src++;
*dst++;
What's the dereference for?
} return ret; +}
+}
-Ken
Show replies by date
On 08/05/17 18:21, Ken Thomases wrote:
On Aug 5, 2017, at 10:43 AM, Piotr Caban piotr@codeweavers.com wrote: ...+char* CDECL MSVCRT_strcpy(char *dst, const char *src) +{ char *ret = dst; while(1) { *dst = *src; if (!*src) break; src++; *dst++; What's the dereference for?
My bad, thanks for spotting it. I've sent a fixed version.
Thanks, Piotr
wine-devel@winehq.org
Add to favorites Remove from favorites