stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r555370 - /incubator/stdcxx/trunk/tests/src/ctype.cpp
Date Wed, 11 Jul 2007 19:04:57 GMT
Author: faridz
Date: Wed Jul 11 12:04:52 2007
New Revision: 555370

URL: http://svn.apache.org/viewvc?view=rev&rev=555370
Log:
2007-07-11 Farid Zaripov <Farid_Zaripov@epam.com>

	* ctype.cpp (do_narrow): Return ch instead of dfault if conversion table not defined.

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

Modified: incubator/stdcxx/trunk/tests/src/ctype.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/ctype.cpp?view=diff&rev=555370&r1=555369&r2=555370
==============================================================================
--- incubator/stdcxx/trunk/tests/src/ctype.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/ctype.cpp Wed Jul 11 12:04:52 2007
@@ -829,9 +829,11 @@
                 break;
             }
         }
+
+        return dfault;
     }
 
-    return dfault;
+    return ch;
 }
 
 
@@ -1235,9 +1237,11 @@
                 break;
             }
         }
+
+        return dfault;
     }
 
-    return dfault;
+    return char (uch);
 }
 
 
@@ -1646,9 +1650,11 @@
                 break;
             }
         }
+
+        return dfault;
     }
 
-    return dfault;
+    return char (uch);
 }
 
 



Mime
View raw message