blob: becbfd18d6a0a7a80ed4ddaf0b6f21db89beae8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-af,v 1.1.1.1 2001/04/22 09:58:59 kei Exp $
--- server.c.orig Fri Sep 6 06:29:53 1996
+++ server.c
@@ -23,6 +23,7 @@
#include <signal.h>
#include <sys/wait.h>
+#include <unistd.h>
#ifndef SIGCHLD
#define SIGCHLD SIGCLD
#endif
@@ -131,7 +132,7 @@
pack_rule(&rule);
if (debug == 0) {
- if (!fork(0)) {
+ if (!fork()) {
fclose(stdin);
fclose(stdout);
fclose(stderr);
|