aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-02-06 19:18:19 +0000
committerAde Lovett <ade@FreeBSD.org>2000-02-06 19:18:19 +0000
commit774652b05cefdeda6ab6070cf30f442a7169e616 (patch)
tree26c946342a07ecb2c243b3002ad342349e6947c7 /x11-fm
parentfb8b81e3aeefeefb00e67f042fd1718490319335 (diff)
downloadports-774652b05cefdeda6ab6070cf30f442a7169e616.tar.gz
ports-774652b05cefdeda6ab6070cf30f442a7169e616.zip
Fix problem with gmc (aka corba-mc) leaving zombies
lying around. OK'd by: reg
Notes
Notes: svn path=/head/; revision=25518
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/gnomemc/files/patch-ah20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-fm/gnomemc/files/patch-ah b/x11-fm/gnomemc/files/patch-ah
new file mode 100644
index 000000000000..390572c5c656
--- /dev/null
+++ b/x11-fm/gnomemc/files/patch-ah
@@ -0,0 +1,20 @@
+--- gnome/gutil.c.orig Mon Dec 6 17:50:05 1999
++++ gnome/gutil.c Sat Feb 5 10:27:43 2000
+@@ -70,12 +70,17 @@
+ gnome_sigchld_handler (int sig)
+ {
+ char c;
++ pid_t p;
++ int s;
+
+ if (previous_sigchld.sa_handler != SIG_IGN &&
+ previous_sigchld.sa_handler != SIG_DFL){
+ (*previous_sigchld.sa_handler)(sig);
+ }
+ write (child_died_notify_handler, &c, sizeof (c));
++
++ while ((p = waitpid(-1, &s, WNOHANG)) > 0)
++ continue;
+ }
+
+ /*