diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-23 11:21:34 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-23 11:21:34 +0200 |
commit | bfd961a8e355c92b1ff1121b411c2303028b82d0 (patch) | |
tree | 1922790b98d36e52dbb4c7b3392ab93fbdd7e8e1 | |
parent | c95f530ecbf6226541b6b1c27dd657b847ca15f9 (diff) | |
download | abrt-bfd961a8e355c92b1ff1121b411c2303028b82d0.tar.gz abrt-bfd961a8e355c92b1ff1121b411c2303028b82d0.tar.xz abrt-bfd961a8e355c92b1ff1121b411c2303028b82d0.zip |
typo fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | lib/Plugins/CCpp.cpp | 7 | ||||
-rw-r--r-- | lib/Plugins/CCpp.h | 50 |
2 files changed, 28 insertions, 29 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 8a5f65ee..b96540a4 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -327,7 +327,7 @@ void CAnalyzerCCpp::GetIndependentBacktrace(const std::string& pBacktrace, std:: } } -void CAnalyzerCCpp::GetIndependentBuldIdPC(const std::string& pBuildIdPC, std::string& pIndependentBuildIdPC) +void CAnalyzerCCpp::GetIndependentBuildIdPC(const std::string& pBuildIdPC, std::string& pIndependentBuildIdPC) { int ii = 0; while (ii < pBuildIdPC.length()) @@ -486,7 +486,7 @@ std::string CAnalyzerCCpp::GetLocalUUID(const std::string& pDebugDumpDir) ExecVP(command, args, UID, buildIdPC); dd.Close(); free(args[1]); - GetIndependentBuldIdPC(buildIdPC, independentBuildIdPC); + GetIndependentBuildIdPC(buildIdPC, independentBuildIdPC); return CreateHash(package + executable + independentBuildIdPC); } std::string CAnalyzerCCpp::GetGlobalUUID(const std::string& pDebugDumpDir) @@ -555,7 +555,6 @@ void CAnalyzerCCpp::Init() } } - void CAnalyzerCCpp::DeInit() { std::ofstream fOutCorePattern; @@ -572,7 +571,7 @@ void CAnalyzerCCpp::LoadSettings(const std::string& pPath) map_settings_t settings; plugin_load_settings(pPath, settings); - if (settings.find("MemoryMap")!= settings.end()) + if (settings.find("MemoryMap") != settings.end()) { m_bMemoryMap = settings["MemoryMap"] == "yes"; } diff --git a/lib/Plugins/CCpp.h b/lib/Plugins/CCpp.h index 9503b227..1bdf230e 100644 --- a/lib/Plugins/CCpp.h +++ b/lib/Plugins/CCpp.h @@ -29,35 +29,35 @@ class CAnalyzerCCpp : public CAnalyzer { - private: - bool m_bMemoryMap; - pid_t m_Pid; - std::string m_sOldCorePattern; - void InstallDebugInfos(const std::string& pPackage); - void GetBacktrace(const std::string& pDebugDumpDir, std::string& pBacktrace); - void GetIndependentBacktrace(const std::string& pBacktrace, std::string& pIndependentBacktrace); - void GetIndependentBuldIdPC(const std::string& pBuildIdPC, std::string& pIndependentBuildIdPC); - gid_t GetGIDFromUID(const std::string& pUID); - void ExecVP(const char* pCommand, char* const pArgs[], const std::string& pUID, std::string& pOutput); - std::string CreateHash(const std::string& pInput); - public: - CAnalyzerCCpp(); - virtual ~CAnalyzerCCpp(); - virtual std::string GetLocalUUID(const std::string& pDebugDumpDir); - virtual std::string GetGlobalUUID(const std::string& pDebugDumpDir); - virtual void CreateReport(const std::string& pDebugDumpDir); - virtual void Init(); - virtual void DeInit(); - virtual void LoadSettings(const std::string& pPath); + private: + bool m_bMemoryMap; + pid_t m_Pid; + std::string m_sOldCorePattern; + void InstallDebugInfos(const std::string& pPackage); + void GetBacktrace(const std::string& pDebugDumpDir, std::string& pBacktrace); + void GetIndependentBacktrace(const std::string& pBacktrace, std::string& pIndependentBacktrace); + void GetIndependentBuildIdPC(const std::string& pBuildIdPC, std::string& pIndependentBuildIdPC); + gid_t GetGIDFromUID(const std::string& pUID); + void ExecVP(const char* pCommand, char* const pArgs[], const std::string& pUID, std::string& pOutput); + std::string CreateHash(const std::string& pInput); + public: + CAnalyzerCCpp(); + virtual ~CAnalyzerCCpp(); + virtual std::string GetLocalUUID(const std::string& pDebugDumpDir); + virtual std::string GetGlobalUUID(const std::string& pDebugDumpDir); + virtual void CreateReport(const std::string& pDebugDumpDir); + virtual void Init(); + virtual void DeInit(); + virtual void LoadSettings(const std::string& pPath); }; PLUGIN_INFO(ANALYZER, CAnalyzerCCpp, - "CCpp", - "0.0.1", - "Simple C/C++ analuzer plugin.", - "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "CCpp", + "0.0.1", + "Simple C/C++ analyzer plugin.", + "zprikryl@redhat.com", + "https://fedorahosted.org/crash-catcher/wiki"); #endif /* CCPP */ |