You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/11/11 01:01:14 UTC

svn commit: r473587 - /incubator/stdcxx/trunk/include/ansi/cwchar

Author: sebor
Date: Fri Nov 10 16:01:14 2006
New Revision: 473587

URL: http://svn.apache.org/viewvc?view=rev&rev=473587
Log:
2006-11-10  Martin Sebor  <se...@roguewave.com>

	* cwchar (wmemcmp, wmemcpy, wmemmove): Correted typos (called the
	corresponding wide forms of the __rw_xxx functions rather than the
	narrow ones). Causing compilation errors with MIPSpro on IRIX64.

Modified:
    incubator/stdcxx/trunk/include/ansi/cwchar

Modified: incubator/stdcxx/trunk/include/ansi/cwchar
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/cwchar?view=diff&rev=473587&r1=473586&r2=473587
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/cwchar (original)
+++ incubator/stdcxx/trunk/include/ansi/cwchar Fri Nov 10 16:01:14 2006
@@ -1194,7 +1194,7 @@
 inline int
 wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
 {
-    return _RW::__rw_memcmp (__s1, __s2, __n);
+    return _RW::__rw_wmemcmp (__s1, __s2, __n);
 }
 
 }   // extern "C"
@@ -1237,7 +1237,7 @@
 inline wchar_t*
 wmemcpy (wchar_t *__dst, const wchar_t *__src, size_t __n)
 {
-    return _RW::__rw_memcpy (__dst, __src, __n);
+    return _RW::__rw_wmemcpy (__dst, __src, __n);
 }
 
 }   // extern "C"
@@ -1279,14 +1279,14 @@
 inline wchar_t*
 wmemmove (wchar_t *__dst, const wchar_t *__src, size_t __n)
 {
-    return _RW::__rw_memmove (__dst, __src, __n);
+    return _RW::__rw_wmemmove (__dst, __src, __n);
 }
 
 }   // extern "C"
 
 namespace std {
 
-using ::wmemmove
+using ::wmemmove;
 
 #endif   // _RWSTD_NO_WMEMMOVE
 
@@ -1328,7 +1328,7 @@
 
 namespace std {
 
-using ::wmemmove
+using ::wmemset;
 
 #endif   // _RWSTD_NO_WMEMSET