| 4595 | } |
| 4596 | |
| 4597 | void CPartFile::AllocationFinished() |
| 4598 | { |
| 4599 | // see if it can be opened |
| 4600 | if (!m_hpartfile.Open(m_PartPath, CFile::read_write)) { |
| 4601 | AddLogLineN(CFormat(_("ERROR: Failed to open partfile '%s'")) % GetFullName()); |
| 4602 | SetStatus(PS_ERROR); |
| 4603 | } |
| 4604 | // then close the handle again |
| 4605 | m_hpartfile.Release(true); |
| 4606 | } |
| 4607 | |
| 4608 | #endif |
| 4609 | // File_checked_for_headers |
no test coverage detected