stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant...@apache.org
Subject svn commit: r391042 - /incubator/stdcxx/trunk/tests/src/char.cpp
Date Mon, 03 Apr 2006 13:34:14 GMT
Author: antonp
Date: Mon Apr  3 06:34:12 2006
New Revision: 391042

URL: http://svn.apache.org/viewcvs?rev=391042&view=rev
Log:
2006-04-03  Anton Pevtsov  <antonp@moscow.vdiweb.com>

	* char.cpp (rw_widen): Added '\0' symbol to the end of string.

Modified:
    incubator/stdcxx/trunk/tests/src/char.cpp

Modified: incubator/stdcxx/trunk/tests/src/char.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/src/char.cpp?rev=391042&r1=391041&r2=391042&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/char.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/char.cpp Mon Apr  3 06:34:12 2006
@@ -247,6 +247,7 @@
         if (src) {
             // copy src into dst
             memcpy (dst, src, len);
+            dst [len] = '\0';
         }
         else {
             // set dst to all NUL



Mime
View raw message