VirtualBox

Ignore:
Timestamp:
Jul 29, 2022 8:55:31 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152713
Message:

Add/Nt/Graphics: Made the debug logging code compile in IPRT_NO_CRT mode, cleaning it up a little in the process (_snpring doesn't terminate buffers on overflow, don't use sprintf). [scm fix] bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.cpp

    r95955 r95957  
    6767    va_end(vaCopy);
    6868# else
    69     int cch = _snprintf(pszBuffer, cbBuffer, "['%s' 0x%lx.0x%lx] Disp: ", 
     69    int cch = _snprintf(pszBuffer, cbBuffer, "['%s' 0x%lx.0x%lx] Disp: ",
    7070                        vboxVDbgDoGetExeName(), GetCurrentProcessId(), GetCurrentThreadId());
    7171    AssertReturnVoid(cch > 0);
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