Author: sebor
Date: Fri Feb 24 08:47:03 2006
New Revision: 380708

URL: http://svn.apache.org/viewcvs?rev=380708&view=rev
Log:
2006-02-24  Martin Sebor  <[EMAIL PROTECTED]>

        STDCXX-153
        * _punct.cc (__rw_match_name): Parenthesized toupper to prevent
        macro expansion.

Modified:
    incubator/stdcxx/trunk/include/loc/_punct.cc

Modified: incubator/stdcxx/trunk/include/loc/_punct.cc
URL: 
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/loc/_punct.cc?rev=380708&r1=380707&r2=380708&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/loc/_punct.cc (original)
+++ incubator/stdcxx/trunk/include/loc/_punct.cc Fri Feb 24 08:47:03 2006
@@ -2,7 +2,7 @@
  *
  * _punct.cc
  *
- * $Id: //stdlib/dev/include/loc/_punct.cc#17 $
+ * $Id$
  *
  ***************************************************************************
  *
@@ -86,8 +86,8 @@
                 if (   __pos < __sizes [__k]
                     && !__err
                     && (__ctp ?
-                            _Traits::eq (__ctp->toupper (__names [__k][__pos]),
-                                         __ctp->toupper (__ch))
+                            _Traits::eq ((__ctp->toupper)(__names 
[__k][__pos]),
+                                         (__ctp->toupper)(__ch))
                           : _Traits::eq (__names [__k][__pos], __ch))) {
 
                     // next character on `name' mactches input


Reply via email to