changeset: 1479:31cb815bac41
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sun Aug 16 08:18:25 2009 +0100
files: LICENSE dwm.c
description:
applied Jukka's sigchld patch
diff -r cf5bb4e72804 -r 31cb815bac41 LICENSE
--- a/LICENSE Thu Aug 13 10:45:59 2009 +0100
+++ b/LICENSE Sun Aug 16 08:18:25 2009 +0100
@@ -2,7 +2,7 @@
© 2006-2009 Anselm R Garbe <garbeam at gmail dot com>
© 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
-© 2006-2007 Jukka Salmi <jukka at salmi dot ch>
+© 2006-2009 Jukka Salmi <jukka at salmi dot ch>
© 2007-2009 Premysl Hruby <dfenze at gmail dot com>
© 2007-2009 Szabolcs Nagy <nszabolcs at gmail dot com>
© 2007-2009 Christof Musik <christof at sendfax dot de>
diff -r cf5bb4e72804 -r 31cb815bac41 dwm.c
--- a/dwm.c Thu Aug 13 10:45:59 2009 +0100
+++ b/dwm.c Sun Aug 16 08:18:25 2009 +0100
@@ -1429,7 +1429,6 @@
XSetWindowAttributes wa;
/* clean up any zombies immediately */
- signal(SIGCHLD, sigchld);
sigchld(0);
/* init screen */
@@ -1501,8 +1500,9 @@
void
sigchld(int unused) {
+ if(signal(SIGCHLD, sigchld) == SIG_ERR)
+ die("Can't install SIGCHLD handler");
while(0 < waitpid(-1, NULL, WNOHANG));
- signal(SIGCHLD, sigchld);
}
void
Received on Sun Aug 16 2009 - 07:18:54 UTC
This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 14:19:08 UTC