aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/mtools/files/patch-e
blob: 8fb2a617be52181a0243f07c991ff2c0c53ff7bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- floppyd.c.orig	Sat Jun  5 15:54:11 1999
+++ floppyd.c	Sat Jun  5 15:55:41 1999
@@ -668,7 +668,7 @@
 	/*
 	 * Ignore dead servers so no zombies should be left hanging.
 	 */
-	signal(SIGCLD, SIG_IGN);
+	signal(SIGCHLD, SIG_IGN);
 
 	for (;;) {
 		int					new_sock;
@@ -972,7 +972,7 @@
 							 * Start a new session and group.
 							 */
 							setsid();
-							setpgrp();
+							setpgrp(0, 0);
 #ifndef DEBUG
 							close(2);
 							open("/dev/null", O_WRONLY);