stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r660489 - /stdcxx/branches/4.2.x/include/ansi/cwchar
Date Tue, 27 May 2008 12:38:48 GMT
Author: faridz
Date: Tue May 27 05:38:47 2008
New Revision: 660489

URL: http://svn.apache.org/viewvc?rev=660489&view=rev
Log:
2008-05-27  Farid Zaripov  <farid_zaripov@epam.com>

	* include/ansi/cwchar (wcsrchr): Removed const modifier since function returns non-const
wchar_t*.

Modified:
    stdcxx/branches/4.2.x/include/ansi/cwchar

Modified: stdcxx/branches/4.2.x/include/ansi/cwchar
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/ansi/cwchar?rev=660489&r1=660488&r2=660489&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/ansi/cwchar (original)
+++ stdcxx/branches/4.2.x/include/ansi/cwchar Tue May 27 05:38:47 2008
@@ -722,7 +722,7 @@
 
 namespace std {
 
-using wcscspn;
+using ::wcscspn;
 
 #  undef _RWSTD_NO_WCSCSPN
 #endif   // _RWSTD_NO_WCSCSPN
@@ -940,7 +940,7 @@
 
 inline wchar_t* wcsrchr (wchar_t *__s, wchar_t __c)
 {
-    const wchar_t *__ss = __s;
+    wchar_t *__ss = __s;
     while (*__ss++);
     while (--__ss != __s && *__ss != __c);
     return *__ss == __c ? __ss : 0;



Mime
View raw message