- Timestamp:
- Dec 16, 2013 6:57:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/log/log.cpp
r49939 r49942 2086 2086 if (pLogger->pInt->cHistory) 2087 2087 { 2088 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " history=%u" : "history=%u", pLogger->pInt->cHistory);2088 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " history=%u" : "history=%u", pLogger->pInt->cHistory); 2089 2089 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum); 2090 2090 if (RT_FAILURE(rc)) 2091 2091 return rc; 2092 fNotFirst = true; 2092 2093 } 2093 2094 if (pLogger->pInt->cbHistoryFileMax != UINT64_MAX) 2094 2095 { 2095 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " histsize=%llu" : "histsize=%llu", pLogger->pInt->cbHistoryFileMax);2096 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " histsize=%llu" : "histsize=%llu", pLogger->pInt->cbHistoryFileMax); 2096 2097 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum); 2097 2098 if (RT_FAILURE(rc)) 2098 2099 return rc; 2100 fNotFirst = true; 2099 2101 } 2100 2102 if (pLogger->pInt->cSecsHistoryTimeSlot != UINT32_MAX) 2101 2103 { 2102 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " histtime=%llu" : "histtime=%llu", pLogger->pInt->cSecsHistoryTimeSlot);2104 RTStrPrintf(szNum, sizeof(szNum), fNotFirst ? " histtime=%llu" : "histtime=%llu", pLogger->pInt->cSecsHistoryTimeSlot); 2103 2105 rc = RTStrCopyP(&pszBuf, &cchBuf, szNum); 2104 2106 if (RT_FAILURE(rc)) 2105 2107 return rc; 2108 fNotFirst = true; 2106 2109 } 2107 2110 } … … 2738 2741 do 2739 2742 { 2740 2743 rc = RTFileRename(szOldName, szNewName, RTFILEMOVE_FLAGS_REPLACE); 2741 2744 if (rc == VERR_SHARING_VIOLATION) 2742 2745 {
Note:
See TracChangeset
for help on using the changeset viewer.