Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS update: Vanilla/newstartd
Date: Tuesday March 23, 1999 @ 16:29
Author: ahn
Update of /home/netrek/cvsroot/Vanilla/newstartd
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv2544
Modified Files:
newstartd.c
Log Message:
newstartd fix.
****************************************
Index: Vanilla/newstartd/newstartd.c
diff -u Vanilla/newstartd/newstartd.c:1.11 Vanilla/newstartd/newstartd.c:1.12
--- Vanilla/newstartd/newstartd.c:1.11 Mon Mar 22 20:33:58 1999
+++ Vanilla/newstartd/newstartd.c Tue Mar 23 16:29:42 1999
@@ -1,7 +1,7 @@
-/* $Id: newstartd.c,v 1.11 1999/03/23 02:33:58 ahn Exp $ */
+/* $Id: newstartd.c,v 1.12 1999/03/23 22:29:42 ahn Exp $ */
#ifndef lint
-static char vcid[] = "$Id: newstartd.c,v 1.11 1999/03/23 02:33:58 ahn Exp $";
+static char vcid[] = "$Id: newstartd.c,v 1.12 1999/03/23 22:29:42 ahn Exp $";
#endif /* lint */
/*
@@ -110,7 +110,7 @@
#ifdef REAPER_HANDLER
-void reaper_handler(void) {
+void handle_reaper(void) {
struct sigaction action;
@@ -149,7 +149,7 @@
/* set up handlers for signals */
#ifdef REAPER_HANDLER
- reaper_handler();
+ handle_reaper();
#else
SIGNAL (SIGCHLD, reaper);
#endif
@@ -520,7 +520,12 @@
break;
}
+#ifdef REAPER_HANDLER
+ /* forgot to add this. -da */
+ handle_reaper();
+#else
HANDLE_SIG (SIGCHLD, reaper);
+#endif
}
/* write process id to file to assist with automatic signalling */