summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/CCpp.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-02 22:14:44 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-02 22:14:44 +0100
commitbbe377fb54426bd17c1f4ee0738842aded6e6756 (patch)
tree825e32d910c7e36ec710a4383bc1ac6d251a3426 /lib/Plugins/CCpp.cpp
parentb413cf38cdcbae6aede174aa54103181395f7bbc (diff)
downloadabrt-bbe377fb54426bd17c1f4ee0738842aded6e6756.tar.gz
abrt-bbe377fb54426bd17c1f4ee0738842aded6e6756.tar.xz
abrt-bbe377fb54426bd17c1f4ee0738842aded6e6756.zip
create bt only once (zprikryl)
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
-rw-r--r--lib/Plugins/CCpp.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 08228eb0..cd974101 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -204,6 +204,11 @@ void CLanguageCCpp::CreateReport(const std::string& pDebugDumpDir)
std::string backtrace;
CDebugDump dd;
dd.Open(pDebugDumpDir);
+ if (dd.Exist(FILENAME_TEXTDATA1))
+ {
+ dd.Close();
+ return;
+ }
dd.LoadText(FILENAME_PACKAGE, package);
InstallDebugInfos(package);