VirtualBox

Changeset 60736 in vbox for trunk


Ignore:
Timestamp:
Apr 28, 2016 12:10:58 PM (9 years ago)
Author:
vboxsync
Message:

MakeAlternativeSource.cpp: Don't drag RTBldCfgRevision into the link.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp

    r59747 r60736  
    20212021            {
    20222022                /* The following is assuming that svn does it's job here. */
    2023                 RTPrintf("r%u\n", RTBldCfgRevision());
     2023                char szRev[] = "$Revision$";
     2024                char *psz = szRev;
     2025                while (*psz && !RT_C_IS_DIGIT(*psz))
     2026                    psz++;
     2027                size_t i = strlen(psz);
     2028                while (i > 0 && !RT_C_IS_DIGIT(psz[i - 1]))
     2029                    psz[--i] = '\0';
     2030
     2031                RTPrintf("r%s\n", psz);
    20242032                return RTEXITCODE_SUCCESS;
    20252033            }
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