[csw-devel] SF.net SVN: gar:[21737] csw/mgar/pkg/tracker/trunk
slowfranklin at users.sourceforge.net
slowfranklin at users.sourceforge.net
Wed Aug 14 16:59:16 CEST 2013
Revision: 21737
http://gar.svn.sourceforge.net/gar/?rev=21737&view=rev
Author: slowfranklin
Date: 2013-08-14 14:59:11 +0000 (Wed, 14 Aug 2013)
Log Message:
-----------
tracker/trunk: Add workaround for bug in tracker-extract-pdf: use of non async-signal safe funcs
Modified Paths:
--------------
csw/mgar/pkg/tracker/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/tracker/trunk/files/0008-Remove-log-calls-in-signal-handler.patch
Modified: csw/mgar/pkg/tracker/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tracker/trunk/Makefile 2013-08-14 13:51:47 UTC (rev 21736)
+++ csw/mgar/pkg/tracker/trunk/Makefile 2013-08-14 14:59:11 UTC (rev 21737)
@@ -115,6 +115,7 @@
PATCHFILES += 0005-exempi-xmp.h-is-missing-a-stdbool.h-include.patch
# Submitted upstream, should be in 0.16.3
PATCHFILES += 0008-libtracker-common-Use-procfs-psinfo-instead-of-cmdli.patch
+PATCHFILES += 0008-Remove-log-calls-in-signal-handler.patch
# Packages
PACKAGES += CSWtracker
Added: csw/mgar/pkg/tracker/trunk/files/0008-Remove-log-calls-in-signal-handler.patch
===================================================================
--- csw/mgar/pkg/tracker/trunk/files/0008-Remove-log-calls-in-signal-handler.patch (rev 0)
+++ csw/mgar/pkg/tracker/trunk/files/0008-Remove-log-calls-in-signal-handler.patch 2013-08-14 14:59:11 UTC (rev 21737)
@@ -0,0 +1,30 @@
+From d68782a36ade485723a049d040008899434553d7 Mon Sep 17 00:00:00 2001
+From: Ralph Boehme <sloowfranklin at gmail.com>
+Date: Wed, 14 Aug 2013 14:45:44 +0200
+Subject: [PATCH] Remove log calls in signal handler
+
+---
+ src/tracker-extract/tracker-extract-pdf.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
+index f68914c..1aaae2f 100644
+--- a/src/tracker-extract/tracker-extract-pdf.c
++++ b/src/tracker-extract/tracker-extract-pdf.c
+@@ -463,10 +463,9 @@ extract_content_child_cleanup (int action)
+ pid_t child_pid;
+ int status;
+
+- g_debug ("Parent: Zombies, say hello to my little friend!");
+- while ((child_pid = waitpid (-1, &status, WNOHANG)) > 0) {
+- g_debug ("Parent: Zombie %d reaped", child_pid);
+- }
++ while ((child_pid = waitpid (-1, &status, WNOHANG)) > 0)
++ ;
++
+ }
+
+ static gchar *
+--
+1.8.3.4
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list