Fix src/core/archive.cpp to compile on gcc-4.9 according to the instructions on this page: http://www.linuxfromscratch.org/blfs/view/svn/postlfs/tripwire.html
This commit is contained in:
parent
6c7b0a5ce9
commit
dddc0fa5d2
|
@ -886,8 +886,7 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o
|
||||||
catch( eFSServices& e)
|
catch( eFSServices& e)
|
||||||
{
|
{
|
||||||
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
|
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
|
||||||
eArchiveOpen e(strTempFile, errStr);
|
throw ( eArchiveOpen(strTempFile, errStr) );
|
||||||
throw e;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -918,8 +917,7 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o
|
||||||
}//try
|
}//try
|
||||||
catch (eFile& fileError) {
|
catch (eFile& fileError) {
|
||||||
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
|
TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY );
|
||||||
eArchiveOpen e(strTempFile, errStr);
|
throw ( eArchiveOpen(strTempFile, errStr) );
|
||||||
throw e;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue