diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-22 18:05:08 +0200 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-22 18:05:08 +0200 |
| commit | b5f18dbe443f8b0295d34f23d00e66d324dff28b (patch) | |
| tree | a98b68436cc5e69c71782243963b37fd74593367 /src/daemon/MiddleWare.h | |
| parent | 3550d52943a2f8214d82e5cc6e6f00beb5d8d1ed (diff) | |
| download | abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.tar.gz abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.tar.xz abrt-b5f18dbe443f8b0295d34f23d00e66d324dff28b.zip | |
This patch splits off abrtd's package/component/description
generation into a separate tool:
abrt-action-save-package-data: invalid option -- 'z'
Usage: abrt-action-save-package-data -d DIR [-vs]
Query package database and save package name, component,
and description
Options:
-d DIR Crash dump directory
-v Verbose
-s Log to syslog
This also allows for debugging and regression testing of
abrt-action-save-package-data - it can be simply run
from command-line.
Also it provides a better fault isolation - crash in
abrt-action-save-package-data does not take down abrtd.
Same goes for isolation of memory leaks - old code actually
had leaks on a rarely used error path. New code doesn't,
but if it would have, it wouldn't matter, since the process
is short-lived.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/MiddleWare.h')
| -rw-r--r-- | src/daemon/MiddleWare.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/daemon/MiddleWare.h b/src/daemon/MiddleWare.h index 70bfd999..b132fb95 100644 --- a/src/daemon/MiddleWare.h +++ b/src/daemon/MiddleWare.h @@ -30,18 +30,14 @@ */ typedef enum { MW_OK, /**< No error.*/ + MW_OCCURRED, /**< A not-yet-reported dup.*/ + MW_REPORTED, /**< A reported dup.*/ MW_ERROR, /**< Common error.*/ - MW_BLACKLISTED, /**< Package is blacklisted.*/ MW_CORRUPTED, /**< Debugdump directory is corrupted.*/ - MW_PACKAGE_ERROR, /**< Cannot determine package name.*/ MW_GPG_ERROR, /**< Package is not signed properly.*/ - MW_REPORTED, /**< Crash is already reported.*/ - MW_OCCURRED, /**< Crash occurred in the past, but it is not reported yet.*/ MW_IN_DB, /**< Debugdump directory is already saved in a database.*/ MW_IN_DB_ERROR, /**< Error while working with a database.*/ MW_PLUGIN_ERROR, /**< plugin wasn't found or error within plugin*/ - MW_FILE_ERROR /**< Error when trying open debugdump directory or - when trying open file in debug dump directory..*/ } mw_result_t; typedef enum { |
