stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r642031 - /stdcxx/trunk/tests/localization/22.locale.time.get.cpp
Date Thu, 27 Mar 2008 23:50:21 GMT
Author: vitek
Date: Thu Mar 27 16:50:18 2008
New Revision: 642031

URL: http://svn.apache.org/viewvc?rev=642031&view=rev
Log:

2008-03-27  Travis Vitek  <vitek@roguewave.com>

	* tests/localization/22.locale.time.get.cpp (make_LC_TIME): Add
	namespace qualifier to strlen() call to avoid compile error.


Modified:
    stdcxx/trunk/tests/localization/22.locale.time.get.cpp

Modified: stdcxx/trunk/tests/localization/22.locale.time.get.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/localization/22.locale.time.get.cpp?rev=642031&r1=642030&r2=642031&view=diff
==============================================================================
--- stdcxx/trunk/tests/localization/22.locale.time.get.cpp (original)
+++ stdcxx/trunk/tests/localization/22.locale.time.get.cpp Thu Mar 27 16:50:18 2008
@@ -1282,7 +1282,7 @@
     const char* const locname =
         rw_localedef ("-w ", srcfname, cmfname, "test-locale");
 
-    if (locname && (strlen(locname) < sizeof locnamebuf))
+    if (locname && (std::strlen(locname) < sizeof locnamebuf))
         std::strcpy (locnamebuf, locname);
 
     return locname;



Mime
View raw message