(file) Return to CommonUTF.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CommonUTF.cpp between version 1.11 and 1.12

version 1.11, 2005/03/08 05:46:35 version 1.12, 2005/03/26 15:52:03
Line 29 
Line 29 
 // //
 // Author: Dave Rosckes   (rosckes@us.ibm.com) // Author: Dave Rosckes   (rosckes@us.ibm.com)
 // //
   // Modified By: David Dillard, VERITAS Software Corp.
   //                  (david.dillard@veritas.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/Array.h> #include <Pegasus/Common/Array.h>
 #include "CommonUTF.h" #include "CommonUTF.h"
 #include <cctype>  
 #include <cstdio> #include <cstdio>
 #include <cstring> #include <cstring>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
  
 inline Uint8 _hexCharToNumeric(const Uint16 c)  inline Uint8 _hexCharToNumeric(Char16 c)
 { {
     Uint8 n;     Uint8 n;
  
     if (isdigit(c))      if (c.isDigit())
         n = (c - '0');         n = (c - '0');
     else if (isupper(c))      else if (c.isUpper())
         n = (c - 'A' + 10);         n = (c - 'A' + 10);
     else // if (islower(c))     else // if (islower(c))
         n = (c - 'a' + 10);         n = (c - 'a' + 10);


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2