aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools
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/mtools
parent4d1313dee640f2e0dc1232bb5e56d859bc3b12e0 (diff)
downloadports-441a0ee37c7eafe9ff6f60a83fef577e90868004.tar.gz
ports-441a0ee37c7eafe9ff6f60a83fef577e90868004.zip
Notes
Diffstat (limited to 'emulators/mtools')
-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);