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?
- }
- return ret;
+}
-Ken
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