SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
https://rt.cpan.org/Ticket/Display.html?id=146613
Socket 2.031 uses getaddrinfo() instead of gethostbyname() to
implement inet_aton(). This requires the four dotted octet syntax.
Index: t/01everything.t
--- t/01everything.t.orig
+++ t/01everything.t
@@ -86,7 +86,7 @@ for my $o ({ name => "original", obj => $t }, { name =
eval '$t->add_string("_")'; # invalid key
like($@, qr/invalid/, 'adding "_"');
-ok($t->add_string("0/0"), "add 0/0");
+ok($t->add_string("0.0.0.0/0"), "add 0.0.0.0/0");
$thawed = Storable::thaw(Storable::nfreeze($t));
for my $o ({ name => "original", obj => $t }, { name => "thawed", obj => $thawed }) {