stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r454550 - /incubator/stdcxx/trunk/src/wcodecvt.cpp
Date Mon, 09 Oct 2006 23:22:05 GMT
Author: sebor
Date: Mon Oct  9 16:22:04 2006
New Revision: 454550

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

	* wcodecvt.cpp (__rw_libc_do_in): Corrected a typo in conditionally
	compiled code.

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

Modified: incubator/stdcxx/trunk/src/wcodecvt.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/wcodecvt.cpp?view=diff&rev=454550&r1=454549&r2=454550
==============================================================================
--- incubator/stdcxx/trunk/src/wcodecvt.cpp (original)
+++ incubator/stdcxx/trunk/src/wcodecvt.cpp Mon Oct  9 16:22:04 2006
@@ -388,10 +388,12 @@
 
         while (dst_len && src_len) {
 
+            _RWSTD_SIZE_T tmp;
+
 #ifndef _RWSTD_NO_MBRTOWC
-            _RWSTD_SIZE_T tmp = mbrtowc (pdst, psrc, src_len, &state);
+            tmp = mbrtowc (pdst, psrc, src_len, &state);
 #elif !defined (_RWSTD_NO_MBTOWC)
-            _RWSTD_SIZE_T tmp = mbtowc (pdst, psrc, src_len);
+            tmp = mbtowc (pdst, psrc, src_len);
 #else
             tmp = _RWSTD_SIZE_MAX;
 #endif



Mime
View raw message