- Timestamp:
- Apr 28, 2016 12:10:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/BiosCommonCode/MakeAlternativeSource.cpp
r59747 r60736 2021 2021 { 2022 2022 /* 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); 2024 2032 return RTEXITCODE_SUCCESS; 2025 2033 }
Note:
See TracChangeset
for help on using the changeset viewer.