Blame 0162-ccpp-fix-comment-related-to-MakeCompatCore-option-in.patch

69165ba
From f1df45f8d0e7cd489eb2dd1b2e03e85e85f83f95 Mon Sep 17 00:00:00 2001
69165ba
From: Matej Habrnal <mhabrnal@redhat.com>
69165ba
Date: Tue, 11 Aug 2015 16:17:40 +0200
69165ba
Subject: [PATCH] ccpp: fix comment related to 'MakeCompatCore' option in
69165ba
 CCpp.conf
69165ba
69165ba
The comment fits only on the default core_pattern template.
69165ba
If the core_pattern is not default, the comment does not fit.
69165ba
69165ba
Related to rhbz#1252384
69165ba
69165ba
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
69165ba
---
69165ba
 doc/abrt-CCpp.conf.txt | 9 +++++++--
69165ba
 src/hooks/CCpp.conf    | 9 +++++++--
69165ba
 2 files changed, 14 insertions(+), 4 deletions(-)
69165ba
69165ba
diff --git a/doc/abrt-CCpp.conf.txt b/doc/abrt-CCpp.conf.txt
69165ba
index f8085d6..42981fd 100644
69165ba
--- a/doc/abrt-CCpp.conf.txt
69165ba
+++ b/doc/abrt-CCpp.conf.txt
69165ba
@@ -11,8 +11,13 @@ The configuration file consists of items in the format "Option = Value".
69165ba
 Ithe following items are recognized:
69165ba
 
69165ba
 MakeCompatCore = 'yes' / 'no' ...::
69165ba
-   If you also want to dump file named "core"
69165ba
-   in crashed process' current dir, set to "yes".
69165ba
+   CCpp hook writes its template to the "/proc/sys/kernel/core_pattern" file
69165ba
+   and stores the original template in the "/var/run/abrt/saved_core_pattern"
69165ba
+   file. If you want CCpp hook to create a core dump file named according to
69165ba
+   the original template as well, set 'MakeCompatCore' to 'yes'.
69165ba
+   If the original template string starts with "|", the string "core" is used
69165ba
+   instead of the template.
69165ba
+   For more information about naming core dump files see 'man 5 core'.
69165ba
 
69165ba
 SaveBinaryImage = 'yes' / 'no' ...::
69165ba
    Do you want a copy of crashed binary be saved?
69165ba
diff --git a/src/hooks/CCpp.conf b/src/hooks/CCpp.conf
69165ba
index d2f8adb..08d1b28 100644
69165ba
--- a/src/hooks/CCpp.conf
69165ba
+++ b/src/hooks/CCpp.conf
69165ba
@@ -1,7 +1,12 @@
69165ba
 # Configuration file for CCpp hook
69165ba
 
69165ba
-# If you also want to dump file named "core"
69165ba
-# in crashed process' current dir, set to "yes"
69165ba
+# CCpp hook writes its template to the "/proc/sys/kernel/core_pattern" file
69165ba
+# and stores the original template in the "/var/run/abrt/saved_core_pattern"
69165ba
+# file. If you want CCpp hook to create a core dump file named according to
69165ba
+# the original template as well, set 'MakeCompatCore' to 'yes'.
69165ba
+# If the original template string starts with "|", the string "core" is used
69165ba
+# instead of the template.
69165ba
+# For more information about naming core dump files see 'man 5 core'.
69165ba
 MakeCompatCore = yes
69165ba
 
69165ba
 # Do you want a copy of crashed binary be saved?
69165ba
-- 
69165ba
2.4.3
69165ba