Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 87D5763E3B8 for ; Sat, 27 Oct 2012 12:33:47 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 5ACF214A210; Sat, 27 Oct 2012 12:33:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 28A9214A20F for ; Sat, 27 Oct 2012 12:33:45 +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 GE2IoQZ1tO_w for ; Sat, 27 Oct 2012 12:33:44 +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 91B5714A208 for ; Sat, 27 Oct 2012 12:33:44 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 7C717175DD; Sat, 27 Oct 2012 12:33:44 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sat, 27 Oct 2012 12:33:44 +0000 From: "Wen Heping" Subject: CVS commit: pkgsrc/net/p5-Test-TCP To: pkgsrc-changes@NetBSD.org Reply-To: wen@netbsd.org X-Mailer: log_accum Message-Id: <20121027123344.7C717175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wen Date: Sat Oct 27 12:33:44 UTC 2012 Modified Files: pkgsrc/net/p5-Test-TCP: Makefile distinfo Log Message: Update to 1.18 Upstream changes: 1.18 - Added more documentation about empty_port() 1.17 commit 0f4510d83ae2f2ce112288c64289fa36d32865b3 Author: Christian Walde Date: Sat Jul 28 07:04:40 2012 +0200 fix port checking on Win32 by performing it in another process On Win32 fork is emulating by creating another thread in the same process. This leads to a possible bug/race condition when a server tries to open a port and listen on it, while in the same process a client tries to connect to the same port. This manifests by the accept call of the server failing with an error of "Bad file descriptor". This is easily fixed by having another process perform the port checking, since that will not interfere with the internals. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/p5-Test-TCP/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/p5-Test-TCP/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.