VirtualBox

Changeset 17410 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Mar 5, 2009 3:15:04 PM (16 years ago)
Author:
vboxsync
Message:

Don't flush the RC log in AssertMsg1/2; it's done automatically and triggers assertions in ring 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/assert.cpp

    r17348 r17410  
    131131                       "Location  : %s(%d) %s\n",
    132132                       pszExpr, pszFile, uLine, pszFunction);
     133#ifndef IN_RC /* flushing is done automatically in RC */
    133134        RTLogFlush(pLog);
     135#endif
    134136    }
    135137
     
    145147                        "Location  : %s(%d) %s\n",
    146148                        pszExpr, pszFile, uLine, pszFunction);
     149#ifndef IN_RC /* flushing is done automatically in RC */
    147150            RTLogFlush(pLog);
     151#endif
    148152        }
    149153    }
     
    193197        RTLogRelPrintfV(pszFormat, args);
    194198        va_end(args);
     199#ifndef IN_RC /* flushing is done automatically in RC */
    195200        RTLogFlush(pLog);
     201#endif
    196202    }
    197203
     
    202208        RTLogPrintfV(pszFormat, args);
    203209        va_end(args);
     210#ifndef IN_RC /* flushing is done automatically in RC */
    204211        RTLogFlush(pLog);
     212#endif
    205213    }
    206214
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