Author: sebor
Date: Mon Jan 16 11:34:03 2006
New Revision: 369552

URL: http://svn.apache.org/viewcvs?rev=369552&view=rev
Log:
2006-01-16  Martin Sebor  <[EMAIL PROTECTED]>

        STDCXX-104
        * wcodecvt.cpp (__rw_libc_do_out): Used the _RWSTD_WCSLEN() macro
        instead of invoking wcslen() directly.

Modified:
    incubator/stdcxx/trunk/src/wcodecvt.cpp

Modified: incubator/stdcxx/trunk/src/wcodecvt.cpp
URL: 
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/wcodecvt.cpp?rev=369552&r1=369551&r2=369552&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/wcodecvt.cpp (original)
+++ incubator/stdcxx/trunk/src/wcodecvt.cpp Mon Jan 16 11:34:03 2006
@@ -54,6 +54,8 @@
 #include <loc/_locale.h>
 #include <loc/_localedef.h>
 
+#include <rw/_traits.h>   // for _RWSTD_WCSLEN()
+
 #include "iso2022.h"
 #include "setlocale.h"
 #include "use_facet.h"
@@ -520,7 +522,7 @@
         // compute the length of the source subsequence up to
         // and including the NUL and advance the source next
         // pointer just past it
-        const _RWSTD_SIZE_T nul_off = wcslen (from_next);
+        const _RWSTD_SIZE_T nul_off = _RWSTD_WCSLEN (from_next);
 
         from_next += nul_off;
 


Reply via email to