Received: by mail.netbsd.org (Postfix, from userid 605) id 3796714A3AC; Sat, 29 Mar 2014 16:10:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3C96E14A2C8 for ; Sat, 29 Mar 2014 16:10:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 81cYUlHd9QlG for ; Sat, 29 Mar 2014 16:10:55 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4635214A2AF for ; Sat, 29 Mar 2014 16:10:55 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E7D2096; Sat, 29 Mar 2014 16:10:54 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 29 Mar 2014 16:10:54 +0000 From: "Andreas Gustafsson" Subject: CVS commit: src/tests/lib/libc/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20140329161054.E7D2096@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Andreas Gustafsson" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: gson Date: Sat Mar 29 16:10:54 UTC 2014 Modified Files: src/tests/lib/libc/net: h_dns_server.c Log Message: Use daemon(3) instead of the experimental daemon2_fork() and daemon2_detach(). Now that newer versions of daemon2_fork() and daemon2_detach() are used in nfsd, where two-stage daemonization is actually needed, there is no longer any reason for h_dns_server to serve as a test case and example of their use. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/net/h_dns_server.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.