summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-31 02:26:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-31 02:26:59 +0100
commitbc2da7891acc79a77de00e89f2fe39660dee228e (patch)
tree9577341f7113e80512eb4dc53265ef60f7f6044c /lib/Plugins
parentd0962176b885a32b1c5aecd5ac3c0d23447c3d09 (diff)
downloadabrt-bc2da7891acc79a77de00e89f2fe39660dee228e.tar.gz
abrt-bc2da7891acc79a77de00e89f2fe39660dee228e.tar.xz
abrt-bc2da7891acc79a77de00e89f2fe39660dee228e.zip
implement abrtd -t TIMEOUT_IN_SEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/CCpp.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 23bd9db0..849e1699 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");