You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/05/27 14:38:48 UTC
svn commit: r660489 - /stdcxx/branches/4.2.x/include/ansi/cwchar
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 <fa...@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;