VirtualBox

Changeset 3875

Show
Ignore:
Timestamp:
07/26/07 15:11:34 (1 year ago)
Author:
vboxsync
Message:

Add a build ID (search for BUILDID in the output of "strings core") to
the binaries. Simplifies finding out what build was used for a
particular core.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r3861 r3875  
    66406640    int vrc = VINF_SUCCESS; 
    66416641 
     6642    /* Set up a build identifier so that it can be seen from core dumps what 
     6643     * exact build was used to produce the core. */ 
     6644    static char saBuildID[40]; 
     6645    RTStrPrintf(saBuildID, sizeof(saBuildID), "%s%s%s%s VirtualBox %s r%d %s%s%s%s", 
     6646                "BU", "IL", "DI", "D", VBOX_VERSION_STRING, VBOX_SVN_REV, "BU", "IL", "DI", "D"); 
     6647 
    66426648    ComObjPtr <Console> console = task->mConsole; 
    66436649 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy