summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-06 16:35:43 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-06 16:35:43 +0000
commit441a0ee37c7eafe9ff6f60a83fef577e90868004 (patch)
tree2964ad73dfc05e2a3266bda656dd7222a4547ed5 /emulators
parentUpdate to version 4.1.15. (diff)
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>
Notes
Notes: svn path=/head/; revision=19245
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mtools/files/patch-e20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/mtools/files/patch-e b/emulators/mtools/files/patch-e
new file mode 100644
index 000000000000..8fb2a617be52
--- /dev/null
+++ b/emulators/mtools/files/patch-e
@@ -0,0 +1,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);