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 2007/07/11 21:04:57 UTC

svn commit: r555370 - /incubator/stdcxx/trunk/tests/src/ctype.cpp

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 <Fa...@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);
 }