summaryrefslogtreecommitdiffstats
path: root/lib/Utils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-29 16:54:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-29 16:54:11 +0200
commit8a917423793e79b9290606ac05ba8341da871c18 (patch)
tree63abdc9617ed6a29dbc8a7f864e03b3e87abba17 /lib/Utils
parent8b2e49a8152d49831e357d1f128848d6c4dab889 (diff)
downloadabrt-8a917423793e79b9290606ac05ba8341da871c18.tar.gz
abrt-8a917423793e79b9290606ac05ba8341da871c18.tar.xz
abrt-8a917423793e79b9290606ac05ba8341da871c18.zip
remove obsolete Catcut and rhfastcheck reporters
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils')
-rw-r--r--lib/Utils/Plugin.h1
-rw-r--r--lib/Utils/make_descr.cpp66
2 files changed, 0 insertions, 67 deletions
diff --git a/lib/Utils/Plugin.h b/lib/Utils/Plugin.h
index 059f8006..367739ff 100644
--- a/lib/Utils/Plugin.h
+++ b/lib/Utils/Plugin.h
@@ -122,7 +122,6 @@ typedef struct SPluginInfo
std::string make_description_bz(const map_crash_data_t& pCrashData);
std::string make_description_reproduce_comment(const map_crash_data_t& pCrashData);
std::string make_description_logger(const map_crash_data_t& pCrashData);
-std::string make_description_catcut(const map_crash_data_t& pCrashData);
/**
* Loads settings and stores it in second parameter. On success it
diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp
index 6f2586eb..7faafcb3 100644
--- a/lib/Utils/make_descr.cpp
+++ b/lib/Utils/make_descr.cpp
@@ -234,69 +234,3 @@ string make_description_reproduce_comment(const map_crash_data_t& pCrashData)
}
return howToReproduce + comment;
}
-
-/* This needs more work to make the result less ugly */
-string make_description_catcut(const map_crash_data_t& pCrashData)
-{
- map_crash_data_t::const_iterator end = pCrashData.end();
- map_crash_data_t::const_iterator it;
-
- string howToReproduce;
- it = pCrashData.find(FILENAME_REPRODUCE);
- if (it != end)
- {
- howToReproduce = "\n\nHow to reproduce\n"
- "-----\n";
- howToReproduce += it->second[CD_CONTENT];
- }
- string comment;
- it = pCrashData.find(FILENAME_COMMENT);
- if (it != end)
- {
- comment = "\n\nComment\n"
- "-----\n";
- comment += it->second[CD_CONTENT];
- }
-
- string pDescription = "\nabrt "VERSION" detected a crash.\n";
- pDescription += howToReproduce;
- pDescription += comment;
- pDescription += "\n\nAdditional information\n"
- "======\n";
-
- for (it = pCrashData.begin(); it != end; it++)
- {
- const string &filename = it->first;
- const string &type = it->second[CD_TYPE];
- const string &content = it->second[CD_CONTENT];
- if (type == CD_TXT)
- {
- if (content.length() <= CD_TEXT_ATT_SIZE)
- {
- if (filename != CD_DUPHASH
- && filename != FILENAME_ARCHITECTURE
- && filename != FILENAME_RELEASE
- && filename != FILENAME_REPRODUCE
- && filename != FILENAME_COMMENT
- ) {
- pDescription += '\n';
- pDescription += filename;
- pDescription += "\n-----\n";
- pDescription += content;
- pDescription += "\n\n";
- }
- } else {
- pDescription += "\n\nAttached files\n"
- "----\n";
- pDescription += filename;
- pDescription += '\n';
- }
- }
- else if (type == CD_BIN)
- {
- error_msg(_("Binary file %s will not be reported"), filename.c_str());
- }
- }
-
- return pDescription;
-}