1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/emulators/mtools/files/patch-e
Steve Price 441a0ee37c Just in case someone wants to turn on floppyd support, fixup the
compilation errors in floppyd.c.

PR:		11962
Submitted by:	Dann Lunsford <dann@greycat.com>
1999-06-06 16:35:43 +00:00

21 lines
472 B
Plaintext

--- 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);