Blame SOURCES/0167-ccpp-correct-comments-mentioning-TID.patch

06486d
From 6ff643d615b41a53236255e7d27a43aa35bd24f8 Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Wed, 9 Sep 2015 14:09:57 +0200
06486d
Subject: [PATCH] ccpp: correct comments mentioning TID
06486d
06486d
abrt-hook-ccpp uses '%I'.
06486d
06486d
See commit 25ca1b05529d7ce95a3948f45391e22ab0fd9744 for details.
06486d
06486d
Related: rhbz#1252590
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/hooks/abrt-hook-ccpp.c | 6 +++---
06486d
 1 file changed, 3 insertions(+), 3 deletions(-)
06486d
06486d
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
06486d
index 5b277af..f5200dc 100644
06486d
--- a/src/hooks/abrt-hook-ccpp.c
06486d
+++ b/src/hooks/abrt-hook-ccpp.c
06486d
@@ -160,13 +160,13 @@ static struct dump_dir *dd;
06486d
  * %g - gid
06486d
  * %t - UNIX time of dump
06486d
  * %e - executable filename
06486d
- * %i - crash thread tid
06486d
+ * %I - global crash thread tid
06486d
  * %% - output one "%"
06486d
  */
06486d
 /* Hook must be installed with exactly the same sequence of %c specifiers.
06486d
  * Last one, %h, may be omitted (we can find it out).
06486d
  */
06486d
-static const char percent_specifiers[] = "%scpugtei";
06486d
+static const char percent_specifiers[] = "%scpugteI";
06486d
 static char *core_basename = (char*) "core";
06486d
 
06486d
 static char* get_executable(pid_t pid, int *fd_p)
06486d
@@ -688,7 +688,7 @@ int main(int argc, char** argv)
06486d
 
06486d
     if (argc < 8)
06486d
     {
06486d
-        /* percent specifier:         %s   %c              %p  %u  %g  %t   %e          %i */
06486d
+        /* percent specifier:         %s   %c              %p  %u  %g  %t   %e          %I */
06486d
         /* argv:                  [0] [1]  [2]             [3] [4] [5] [6]  [7]         [8]*/
06486d
         error_msg_and_die("Usage: %s SIGNO CORE_SIZE_LIMIT PID UID GID TIME BINARY_NAME [TID]", argv[0]);
06486d
     }
06486d
-- 
06486d
2.4.3
06486d