You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/05/01 19:28:02 UTC

svn commit: r652585 - /stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp

Author: vitek
Date: Thu May  1 10:28:02 2008
New Revision: 652585

URL: http://svn.apache.org/viewvc?rev=652585&view=rev
Log:
2008-05-01  Travis Vitek  <vi...@roguewave.com>

	STDCXX-842
	* tests/localization/22.locale.codecvt.out.cpp: Reserve space
	for null terminator.


Modified:
    stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp

Modified: stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp?rev=652585&r1=652584&r2=652585&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp (original)
+++ stdcxx/branches/4.2.x/tests/localization/22.locale.codecvt.out.cpp Thu May  1 10:28:02 2008
@@ -197,7 +197,7 @@
 struct WideCode
 {
     wchar_t wchar;
-    char    mbchar [MB_LEN_MAX];
+    char    mbchar [MB_LEN_MAX + 1];
 };
 
 typedef WideCode mb_char_array_t [MB_LEN_MAX];