[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please unblock gphotocoll 0.7-12



Hi,

gphotocoll 0.7-12 is a bugfix-only version, applying the patch
contributed in #404438.

debdiff 0.7-10 -> 0.7-12 attached.

Thanks,

JB.

-- 
 Julien BLACHE <jblache@debian.org>  |  Debian, because code matters more 
 Debian & GNU/Linux Developer        |       <http://www.debian.org>
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 

diff -u gphotocoll-0.7/debian/changelog gphotocoll-0.7/debian/changelog
--- gphotocoll-0.7/debian/changelog
+++ gphotocoll-0.7/debian/changelog
@@ -1,3 +1,18 @@
+gphotocoll (0.7-12) unstable; urgency=low
+
+  * src/main.c:
+    + Add SIGCHLD handler to avoid leaving zombies behind when spawning
+      external applications; patch by Michael Welle (closes: #404438).
+
+ -- Julien BLACHE <jblache@debian.org>  Sun, 24 Dec 2006 22:45:52 +0100
+
+gphotocoll (0.7-11) unstable; urgency=low
+
+  * debian/control:
+    + Bumped Standards-Version to 3.7.2 (no changes).
+
+ -- Julien BLACHE <jblache@debian.org>  Sun,  6 Aug 2006 16:42:27 +0200
+
 gphotocoll (0.7-10) unstable; urgency=low
 
   * GNOME1 transition to libpng12.
diff -u gphotocoll-0.7/debian/control gphotocoll-0.7/debian/control
--- gphotocoll-0.7/debian/control
+++ gphotocoll-0.7/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Julien BLACHE <jblache@debian.org>
 Build-Depends: debhelper (>= 4.0.0), libgdk-pixbuf-gnome-dev, libgtkxmhtml-dev, libgnome-dev, libgnomeprint-dev (>= 0.31-4), libpq-dev, gettext, autotools-dev
-Standards-Version: 3.6.2
+Standards-Version: 3.7.2
 
 Package: gphotocoll
 Architecture: any
only in patch2:
unchanged:
--- gphotocoll-0.7.orig/src/main.c
+++ gphotocoll-0.7/src/main.c
@@ -7,6 +7,9 @@
 #  include <config.h>
 #endif
 
+#include <signal.h>
+#include <sys/wait.h>
+
 #include <gnome.h>
 
 #include "gpc_app.h"
@@ -17,6 +20,18 @@
 #include "pg_connection.h"
 
 
+void
+sig_child_hdl(int signo)
+{
+  int ret;
+
+  do
+    {
+      ret = waitpid(-1, NULL, WNOHANG);
+    }
+  while (ret > 0);
+}
+
 int
 main (int argc, char *argv[])
 {
@@ -25,6 +40,8 @@
   textdomain (PACKAGE);
 #endif
 
+  signal(SIGCHLD, sig_child_hdl);
+
   gnome_init (PACKAGE, VERSION, argc, argv);
 
   /* First, we try to recreate connection from stored params 

Reply to: