VirtualBox

Changeset 178 in vbox for trunk


Ignore:
Timestamp:
Jan 19, 2007 2:45:28 PM (18 years ago)
Author:
vboxsync
Message:

Backed out 17600 -> breaks parsing alltogether

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/log.cpp

    r148 r178  
    5757*******************************************************************************/
    5858/** Ascii to lower macro. */
    59 #define CHLOWER(ch)     (((unsigned char)(ch) <= (unsigned char)'A') || ((unsigned char)(ch) > (unsigned char)'Z') ? (ch) : (ch) + ('a' - 'A'))
     59#define CHLOWER(ch)     (((unsigned char)(ch) - (unsigned char)'A') > (unsigned char)('Z' - 'A') ? (ch) : (ch) + ('a' - 'A'))
    6060
    6161
     
    10321032                {
    10331033                    if (    (*psz2 >= 'a' && *psz2 <= 'z')
    1034                         ||  (*psz2 >= 'A' && *psz2 <= 'Z')
    1035                         ||  (*psz2 >= '0' && *psz2 <= '9') )
     1034                        ||  (*psz2 >= 'A' && *psz2 <= 'Z') )
    10361035                        break;
    10371036                    fFlags |= aFlags[i].fFlag;
     
    17021701        for (;;)
    17031702        {
    1704 #if defined(DEBUG) && defined(IN_RING3)
     1703            #if defined(DEBUG) && defined(IN_RING3)
    17051704            /* sanity */
    17061705            if (pLogger->offScratch >= sizeof(pLogger->achScratch))
     
    17101709                AssertBreakpoint(); AssertBreakpoint();
    17111710            }
    1712 #endif
     1711            #endif
    17131712
    17141713            /* how much */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette