Changeset 52175 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jul 24, 2014 6:45:59 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r52171 r52175 7333 7333 { 7334 7334 Utf8Str strStartupLogFile = i_getStartupLogFilename(); 7335 RTFileDelete(strStartupLogFile.c_str()); 7335 int vrc2 = RTFileDelete(strStartupLogFile.c_str()); 7336 if (vrc2 == VERR_PATH_NOT_FOUND || vrc2 == VERR_FILE_NOT_FOUND) 7337 { 7338 Utf8Str strStartupLogDir = strStartupLogFile; 7339 strStartupLogDir.stripFilename(); 7340 RTDirCreateFullPath(strStartupLogDir.c_str(), 0755); /** @todo add a variant for creating the path to a file without stripping the file. */ 7341 } 7336 7342 strSupStartLogArg.append(strStartupLogFile); 7337 7343 } … … 7655 7661 if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_NORMAL) 7656 7662 rc = setError(E_FAIL, 7657 tr("The virtual machine '%s' has terminated unexpectedly during startup with exit code %d %s"),7658 i_getName().c_str(), status.iStatus, st rExtraInfo.c_str());7663 tr("The virtual machine '%s' has terminated unexpectedly during startup with exit code %d (%#x)%s"), 7664 i_getName().c_str(), status.iStatus, status.iStatus, strExtraInfo.c_str()); 7659 7665 else if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_SIGNAL) 7660 7666 rc = setError(E_FAIL, … … 7663 7669 else if (RT_SUCCESS(vrc) && status.enmReason == RTPROCEXITREASON_ABEND) 7664 7670 rc = setError(E_FAIL, 7665 tr("The virtual machine '%s' has terminated abnormally "),7671 tr("The virtual machine '%s' has terminated abnormally (iStatus=%#x)%s"), 7666 7672 i_getName().c_str(), status.iStatus, strExtraInfo.c_str()); 7667 7673 else
Note:
See TracChangeset
for help on using the changeset viewer.