Changeset 26251 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Feb 5, 2010 12:14:31 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57307
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strversion.cpp
r25031 r26251 91 91 92 92 /* Translate standard pre release terms to negative values. */ 93 uint32_t iVal1;93 int32_t iVal1; 94 94 if ( cchBlock == 2 && !RTStrNICmp(*ppszVer, "RC", 2)) 95 95 iVal1 = -100000; … … 118 118 iVal1 += *pi32Value - 1; 119 119 else 120 { 120 { 121 121 AssertRC(rc); 122 122 psz = psz2; … … 164 164 } 165 165 else if ( fNumeric1 != fNumeric2 166 && ( fNumeric1 166 && ( fNumeric1 167 167 ? iVal1 == 0 && cchBlock2 == 0 168 168 : iVal2 == 0 && cchBlock1 == 0) … … 173 173 else if ( fNumeric1 != fNumeric2 174 174 && (fNumeric1 ? iVal1 : iVal2) < 0) 175 { 175 { 176 176 /* Pre-release indicators are smaller than all other strings. */ 177 177 return fNumeric1 ? -1 : 1;
Note:
See TracChangeset
for help on using the changeset viewer.