Author: sebor Date: Thu Oct 13 16:34:53 2005 New Revision: 320944 URL: http://svn.apache.org/viewcvs?rev=320944&view=rev Log: 2005-10-13 Martin Sebor STDCXX-48 * cwchar (wmemcpy): Incremented the source pointer in every iteration of the loop. Modified: incubator/stdcxx/trunk/include/ansi/cwchar Modified: incubator/stdcxx/trunk/include/ansi/cwchar URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/ansi/cwchar?rev=320944&r1=320943&r2=320944&view=diff ============================================================================== --- incubator/stdcxx/trunk/include/ansi/cwchar (original) +++ incubator/stdcxx/trunk/include/ansi/cwchar Thu Oct 13 16:34:53 2005 @@ -3,7 +3,7 @@ * * cwchar - C++ Standard library interface to the ANSI C header wchar.h * - * $Id: //stdlib/dev/include/ansi/cwchar#48 $ + * $Id$ * *************************************************************************** * @@ -619,7 +619,7 @@ inline wchar_t* wmemcpy (wchar_t *__dst, const wchar_t *__src, size_t __n) { - for (wchar_t *__d = __dst; __n--; ++__d) + for (wchar_t *__d = __dst; __n--; ++__d, ++__src) *__d = *__src; return __dst;