Author: sebor
Date: Wed Mar 14 16:34:32 2007
New Revision: 518381

URL: http://svn.apache.org/viewvc?view=rev&rev=518381
Log:
2007-03-14  Eric Lemings  <[EMAIL PROTECTED]>

        STDCXX-359
        * printf.cpp (_rw_vasnprintf_ext): Replaced the use of operator!
        on an enum with operator== to prevent a gcc error on Mac OS X.

Modified:
    incubator/stdcxx/trunk/tests/src/printf.cpp

Modified: incubator/stdcxx/trunk/tests/src/printf.cpp
URL: 
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/printf.cpp?view=diff&rev=518381&r1=518380&r2=518381
==============================================================================
--- incubator/stdcxx/trunk/tests/src/printf.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/printf.cpp Wed Mar 14 16:34:32 2007
@@ -2883,8 +2883,8 @@
         break;
 
     case 'S':   // %{S}, %{lS}, %{#*S}
-        if (   spec.mod == spec.mod_l
-            || !spec.mod && spec.fl_pound && sizeof (wchar_t) == spec.width) {
+        if (   spec.mod == spec.mod_l || spec.mod == FmtSpec::mod_none
+            && spec.fl_pound && sizeof (wchar_t) == spec.width) {
             // std::wstring
             spec.param.ptr_ = PARAM (ptr_, pva);
 


Reply via email to