diff options
Diffstat (limited to 'app-admin/tripwire/files/tripwire-2.4.2.2-exception-shadowing.patch')
-rw-r--r-- | app-admin/tripwire/files/tripwire-2.4.2.2-exception-shadowing.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/tripwire/files/tripwire-2.4.2.2-exception-shadowing.patch b/app-admin/tripwire/files/tripwire-2.4.2.2-exception-shadowing.patch new file mode 100644 index 000000000000..1347590ef462 --- /dev/null +++ b/app-admin/tripwire/files/tripwire-2.4.2.2-exception-shadowing.patch @@ -0,0 +1,13 @@ +--- a/src/core/archive.cpp ++++ b/src/core/archive.cpp +@@ -886,8 +886,8 @@ void cLockedTemporaryFileArchive::OpenReadWrite( const TCHAR* filename, uint32 o + catch( eFSServices& e) + { + TSTRING errStr = TSS_GetString( cCore, core::STR_BAD_TEMPDIRECTORY ); +- eArchiveOpen e(strTempFile, errStr); +- throw e; ++ eArchiveOpen ex(strTempFile, errStr); ++ throw ex; + } + } + /////////////////////////////////////////////////////////////////////////////// |