pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-Test-TCP Update to 1.18
details: https://anonhg.NetBSD.org/pkgsrc/rev/1b3390b31029
branches: trunk
changeset: 610511:1b3390b31029
user: wen <wen%pkgsrc.org@localhost>
date: Sat Oct 27 12:33:44 2012 +0000
description:
Update to 1.18
Upstream changes:
1.18
- Added more documentation about empty_port()
1.17
commit 0f4510d83ae2f2ce112288c64289fa36d32865b3
Author: Christian Walde <walde.christian%googlemail.com@localhost>
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.
diffstat:
net/p5-Test-TCP/Makefile | 5 ++---
net/p5-Test-TCP/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (28 lines):
diff -r f333f27ec8a1 -r 1b3390b31029 net/p5-Test-TCP/Makefile
--- a/net/p5-Test-TCP/Makefile Sat Oct 27 12:28:55 2012 +0000
+++ b/net/p5-Test-TCP/Makefile Sat Oct 27 12:33:44 2012 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2012/10/23 17:18:55 asau Exp $
+# $NetBSD: Makefile,v 1.10 2012/10/27 12:33:44 wen Exp $
#
-DISTNAME= Test-TCP-1.16
+DISTNAME= Test-TCP-1.18
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
diff -r f333f27ec8a1 -r 1b3390b31029 net/p5-Test-TCP/distinfo
--- a/net/p5-Test-TCP/distinfo Sat Oct 27 12:28:55 2012 +0000
+++ b/net/p5-Test-TCP/distinfo Sat Oct 27 12:33:44 2012 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2012/07/25 15:39:31 wen Exp $
+$NetBSD: distinfo,v 1.6 2012/10/27 12:33:44 wen Exp $
-SHA1 (Test-TCP-1.16.tar.gz) = 0453b12186a8cfa58e1e190cda38a79040a4eee8
-RMD160 (Test-TCP-1.16.tar.gz) = 2e410fa5790ed098d64ae3662849f9c45cadf5ae
-Size (Test-TCP-1.16.tar.gz) = 26703 bytes
+SHA1 (Test-TCP-1.18.tar.gz) = a961d1d430e7648cd59958625ec288bda0973085
+RMD160 (Test-TCP-1.18.tar.gz) = 4578deb1767ce02ca5579b01d4a4dedf6186070e
+Size (Test-TCP-1.18.tar.gz) = 27348 bytes
Home |
Main Index |
Thread Index |
Old Index