summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-11-14 10:20:16 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2011-11-17 13:08:59 +0100
commitbf4393a6fc63b3637e1b5c22d3ba7587d6e7a373 (patch)
treea7b6f0fc3ad39fcbf180d419821c4a6488bcbc85 /installerbuilder/libinstaller
parent2b09c8dec75d1bbec3858e53809b6d871ef48a32 (diff)
fix a unpack meta data 7zip problem/crash
- if two threads trying to create static variables at same time the result could be very strange Change-Id: I82516e33e176435dfc80036c5f6644ac7db183bc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder/libinstaller')
-rw-r--r--installerbuilder/libinstaller/3rdparty/p7zip_9.04/lib7z_facade.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/3rdparty/p7zip_9.04/lib7z_facade.cpp b/installerbuilder/libinstaller/3rdparty/p7zip_9.04/lib7z_facade.cpp
index 843566836..cb0d44c55 100644
--- a/installerbuilder/libinstaller/3rdparty/p7zip_9.04/lib7z_facade.cpp
+++ b/installerbuilder/libinstaller/3rdparty/p7zip_9.04/lib7z_facade.cpp
@@ -106,8 +106,8 @@ namespace {
m_created( false ),
m_released( false )
{
- static const QRegExp re( QLatin1String( "\\\\|/" ) );
- static const QLatin1String sep( "/" );
+ const QRegExp re( QLatin1String( "\\\\|/" ) );
+ const QLatin1String sep( "/" );
m_path.replace( re, sep );
}
~DirectoryGuard() {