VirtualBox

Changeset 37016 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 9, 2011 5:48:43 PM (14 years ago)
Author:
vboxsync
Message:

Added VBOX_VERSION_STRING_RAW to only handle/store the pure VBox version without any suffixes. Fixes bug #8844.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r36991 r37016  
    1010
    1111/*
    12  * Copyright (C) 2006-2010 Oracle Corporation
     12 * Copyright (C) 2006-2011 Oracle Corporation
    1313 *
    1414 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    46754675         * will override them.
    46764676         */
    4677         /* Set the VBox version string as a guest property */
     4677        /* Set the raw VBox version string as a guest property. Used for host/guest
     4678         * version comparison. */
    46784679        configSetProperty(pConsole->m_pVMMDev, "/VirtualBox/HostInfo/VBoxVer",
     4680                          VBOX_VERSION_STRING_RAW, "TRANSIENT, RDONLYGUEST");
     4681        /* Set the full VBox version string as a guest property. Can contain vendor-specific
     4682         * information/branding and/or pre-release tags. */
     4683        configSetProperty(pConsole->m_pVMMDev, "/VirtualBox/HostInfo/VBoxVerExt",
    46794684                          VBOX_VERSION_STRING, "TRANSIENT, RDONLYGUEST");
    46804685        /* Set the VBox SVN revision as a guest property */
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