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

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