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

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