- ack
On 08/16/2012 10:40 AM, Jakub Filak wrote:
- See: rhbz#848371
Signed-off-by: Jakub Filak <[email protected]>
---
src/include/internal_libreport.h | 3 +++
src/plugins/rhbz.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h
index db22ae1..734ddc7 100644
--- a/src/include/internal_libreport.h
+++ b/src/include/internal_libreport.h
@@ -715,6 +715,9 @@ struct dump_dir *open_directory_for_writing(
#define FILENAME_TAINTED_LONG "kernel_tainted_long"
#define FILENAME_VMCORE "vmcore"
#define FILENAME_KERNEL_LOG "kernel_log"
+// File created by createAlertSignature() from libreport's python module
+// The file should contain a description of an alert
+#define FILENAME_DESCRIPTION "description"
#define FILENAME_UUID "uuid"
#define FILENAME_COUNT "count"
diff --git a/src/plugins/rhbz.c b/src/plugins/rhbz.c
index b1c6b76..50cf0db 100644
--- a/src/plugins/rhbz.c
+++ b/src/plugins/rhbz.c
@@ -58,7 +58,8 @@
FILENAME_KERNEL,\
FILENAME_CRASH_FUNCTION,\
FILENAME_CMDLINE,\
- FILENAME_TAINTED_LONG
+ FILENAME_TAINTED_LONG, \
+ FILENAME_DESCRIPTION
/* Items we want to use in additional info */
static const char *const g_additional_info_files[] = {