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

Diff for /pegasus/src/Pegasus/Common/CIMObjectPath.cpp between version 1.62.4.3 and 1.62.4.4

version 1.62.4.3, 2007/11/08 09:16:19 version 1.62.4.4, 2008/02/13 12:06:38
Line 716 
Line 716 
  
             p++;             p++;
  
             Array<Uint8> keyValueUTF8;              Buffer keyValueUTF8(128);
             keyValueUTF8.reserveCapacity(128);  
  
             while (*p && *p != '"')             while (*p && *p != '"')
             {             {
Line 751 
Line 750 
              */              */
             type = CIMKeyBinding::STRING;             type = CIMKeyBinding::STRING;
  
               /* Performance shortcut will check for
                  equal sign instead of doing the full
                  CIMObjectPath creation and exception handling
               */
               if (strchr(keyValueUTF8.getData(), '='))
               {
                   // found an equal sign, high probability for a reference
             try             try
             {             {
                 CIMObjectPath testForPath(valueString);                 CIMObjectPath testForPath(valueString);
Line 765 
Line 771 
                 // Not a reference value; leave type as STRING                 // Not a reference value; leave type as STRING
             }             }
         }         }
           }
         else if (toupper(*p) == 'T' || toupper(*p) == 'F')         else if (toupper(*p) == 'T' || toupper(*p) == 'F')
         {         {
             type = CIMKeyBinding::BOOLEAN;             type = CIMKeyBinding::BOOLEAN;


Legend:
Removed from v.1.62.4.3  
changed lines
  Added in v.1.62.4.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2