From owner-freebsd-questions Thu Jul 16 09:57:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09507 for freebsd-questions-outgoing; Thu, 16 Jul 1998 09:57:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09498 for ; Thu, 16 Jul 1998 09:57:04 -0700 (PDT) (envelope-from spork@super-g.com) Received: from localhost (localhost [127.0.0.1]) by super-g.inch.com (8.8.8/8.8.5) with SMTP id MAA17757 for ; Thu, 16 Jul 1998 12:56:50 -0400 (EDT) Date: Thu, 16 Jul 1998 12:56:50 -0400 (EDT) From: spork X-Sender: spork@super-g.inch.com To: questions@FreeBSD.ORG Subject: rwhoisd and siginfo_t Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The latest version of rwhoisd (1.5.2) doesn't seem to want to compile on -stable. It drops dead looking for siginfo_t, which I cannot find anywhere in /usr/include... Does anyone know what that does? Looking at a diff from the rwhois daemon, here's what changed between 1.5.1a and 1.5.2: 81,82d80 < logpid(); < 100c98,99 < int status; --- > int status; > siginfo_t info; 102,103c101,110 < wait(&status); < num_children--; --- > /* use waitid instead of wait to avoid blocking forever (however > that happens...) */ > status = waitid(P_ALL, 0, &info, WNOHANG | WEXITED | WTRAPPED); > > /* do not record a child as quitting unless there is evidence that > it has */ > if (status == 0 && info.si_pid != 0) > { > num_children--; > } 181a189 Ideas on patching? Thanks, Charles Charles Sprickman spork@super-g.com ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message