Author: sebor
Date: Sat Jan 7 16:07:31 2006
New Revision: 366945
URL: http://svn.apache.org/viewcvs?rev=366945&view=rev
Log:
2006-01-07 Martin Sebor <[EMAIL PROTECTED]>
* locale_body.cpp (__rw_locale): Removed a stray std:: qualification
from a call to strlen().
(_C_is_managed): Eliminated a gcc -Wextra warning: operation may be
undefined.
Modified:
incubator/stdcxx/trunk/src/locale_body.cpp
Modified: incubator/stdcxx/trunk/src/locale_body.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/locale_body.cpp?rev=366945&r1=366944&r2=366945&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/locale_body.cpp (original)
+++ incubator/stdcxx/trunk/src/locale_body.cpp Sat Jan 7 16:07:31 2006
@@ -1,11 +1,11 @@
/***************************************************************************
*
- * rw_locale.cpp - implementation of the std::locale and __rw_locale class
+ * locale_body.cpp - implementation of the std::locale and __rw_locale class
*
* This is an internal header file used to implement the C++ Standard
* Library. It should never be #included directly by a program.
*
- * $Id: //stdlib/dev/source/stdlib/locale_body.cpp#8 $
+ * $Id$
*
***************************************************************************
*
@@ -520,7 +520,7 @@
// note that `name' may not be the same as `_C_name' at this point
}
else {
- const _RWSTD_SIZE_T namelen = std::strlen (name) + 1;
+ const _RWSTD_SIZE_T namelen = strlen (name) + 1;
// assume name is well-formed and valid (checked by caller)
char* const tmp = namelen < sizeof _C_namebuf
@@ -1111,7 +1111,7 @@
loclen = next - locname;
else {
loclen = strlen (locname);
- next = next = "";
+ next = "";
}
}