diff options
-rw-r--r-- | emulators/mtools/files/patch-e | 20 |
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); |