summaryrefslogtreecommitdiffstats
path: root/src/Hooks/abrt-hook-python.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-12 17:52:11 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-12 17:52:11 +0100
commit78b940643724e2ea9dc32cadfc2750ea3af571a5 (patch)
tree83dfa54512a83f6d9d4f95fd6f33c02e83efd63f /src/Hooks/abrt-hook-python.cpp
parentec617bd344e75baa0c436d253bc3dc6323536cd7 (diff)
downloadabrt-78b940643724e2ea9dc32cadfc2750ea3af571a5.tar.gz
abrt-78b940643724e2ea9dc32cadfc2750ea3af571a5.tar.xz
abrt-78b940643724e2ea9dc32cadfc2750ea3af571a5.zip
abrt-hook-ccpp: do not consider SIGQUIT to be a crash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Hooks/abrt-hook-python.cpp')
-rw-r--r--src/Hooks/abrt-hook-python.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Hooks/abrt-hook-python.cpp b/src/Hooks/abrt-hook-python.cpp
index 356174f8..34459540 100644
--- a/src/Hooks/abrt-hook-python.cpp
+++ b/src/Hooks/abrt-hook-python.cpp
@@ -37,21 +37,6 @@
static char *pid;
static char *executable;
-// Note: "" will return false
-static bool isxdigit_str(const char *str)
-{
- do {
- if ((*str < '0' || *str > '9') // not a digit
- && ((*str | 0x20) < 'a' || (*str | 0x20) > 'f') // not A-F or a-f
- )
- {
- return false;
- }
- str++;
- } while (*str);
- return true;
-}
-
static bool printable_str(const char *str)
{
do {