Changeset 33797 in vbox
- Timestamp:
- Nov 5, 2010 4:04:08 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67442
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VFSExplorerImpl.cpp
r33794 r33797 376 376 ++it, ++i) 377 377 { 378 memcpy(szPath, m->strPath.c_str(), strlen(m->strPath.c_str()) + 1); 379 RTPathAppend(szPath, sizeof(szPath), (*it).c_str()); 380 int vrc = RTFileDelete(szPath); 378 int vrc = RTPathJoin(szPath, sizeof(szPath), m->strPath.c_str(), (*it).c_str()); 381 379 if (RT_FAILURE(vrc)) 382 throw setError(VBOX_E_FILE_ERROR, tr ("Can't delete file '%s' (%Rrc)"), szPath, vrc); 380 throw setError(E_FAIL, tr("Internal Error (%Rrc)"), vrc); 381 vrc = RTFileDelete(szPath); 382 if (RT_FAILURE(vrc)) 383 throw setError(VBOX_E_FILE_ERROR, tr("Can't delete file '%s' (%Rrc)"), szPath, vrc); 383 384 if (aTask->progress) 384 385 aTask->progress->SetCurrentOperationProgress((ULONG)(fPercentStep * i));
Note:
See TracChangeset
for help on using the changeset viewer.