1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/xnetmaj/files/patch-aa
Jun-ichiro itojun Hagino 4bf6e18c72 xnetmaj, Mahjong game over the network
PR:		4759
1998-02-28 03:41:46 +00:00

30 lines
603 B
Plaintext

*** server.c.orig Fri Sep 6 06:29:53 1996
--- server.c Wed Aug 27 04:27:00 1997
***************
*** 22,27 ****
--- 22,28 ----
/* $Id: server.c,v 1.25 1996/09/05 21:29:53 suz Exp $ */
#include <signal.h>
+ #include <unistd.h>
#include <sys/wait.h>
#ifndef SIGCHLD
#define SIGCHLD SIGCLD
***************
*** 131,137 ****
pack_rule(&rule);
if (debug == 0) {
! if (!fork(0)) {
fclose(stdin);
fclose(stdout);
fclose(stderr);
--- 132,138 ----
pack_rule(&rule);
if (debug == 0) {
! if (!fork()) {
fclose(stdin);
fclose(stdout);
fclose(stderr);