From bc2da7891acc79a77de00e89f2fe39660dee228e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 31 Oct 2009 02:26:59 +0100 Subject: implement abrtd -t TIMEOUT_IN_SEC Signed-off-by: Denys Vlasenko --- lib/Plugins/CCpp.cpp | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'lib/Plugins/CCpp.cpp') diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 23bd9db..849e169 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -44,17 +44,6 @@ CAnalyzerCCpp::CAnalyzerCCpp() : m_bMemoryMap(false), m_bInstallDebuginfo(true) {} -static bool is_hexstr(const char* str) -{ - while (*str) - { - if (!isxdigit(*str)) - return false; - str++; - } - return true; -} - static std::string CreateHash(const std::string& pInput) { std::string ret = ""; @@ -452,6 +441,16 @@ static std::string run_unstrip_n(const std::string& pDebugDumpDir) #if 0 /* older code */ +static bool is_hexstr(const char* str) +{ + while (*str) + { + if (!isxdigit(*str)) + return false; + str++; + } + return true; +} static void InstallDebugInfos(const std::string& pDebugDumpDir, std::string& build_ids) { log("Getting module names, file names, build IDs from core file"); -- cgit