diff options
author | fredb <fredb@pkgsrc.org> | 2001-08-16 04:23:45 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2001-08-16 04:23:45 +0000 |
commit | 0dfbc897e994a48c9460f448493fcb0f81114306 (patch) | |
tree | 8dfa6e4060708733e43da401b3a210f59050a6b8 | |
parent | b698a107cf1b52185420f96b9e49a09e5d465183 (diff) | |
download | pkgsrc-0dfbc897e994a48c9460f448493fcb0f81114306.tar.gz |
Don't call freeaddrinfo() with "0" argument -- it cores.
-rw-r--r-- | www/wwwoffle/distinfo | 4 | ||||
-rw-r--r-- | www/wwwoffle/patches/patch-ac | 22 |
2 files changed, 21 insertions, 5 deletions
diff --git a/www/wwwoffle/distinfo b/www/wwwoffle/distinfo index 3cb011679be..19e1af33f3b 100644 --- a/www/wwwoffle/distinfo +++ b/www/wwwoffle/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2001/08/14 04:51:46 fredb Exp $ +$NetBSD: distinfo,v 1.4 2001/08/16 04:23:45 fredb Exp $ SHA1 (wwwoffle-2.6d.tgz) = abb7cdfb03dfffb3ae777753938068c25e390c63 Size (wwwoffle-2.6d.tgz) = 645469 bytes SHA1 (patch-aa) = ff6a4f4386a0894a941021340c56aa112c7b7b50 SHA1 (patch-ab) = eea97a0501c515d9100269ee6da16998905cd694 -SHA1 (patch-ac) = aeb866286d00a3012c2a78967d1c1064a9182da1 +SHA1 (patch-ac) = 14c3cbff4c9bf2ecf0cf97222db43a3339cecaf2 diff --git a/www/wwwoffle/patches/patch-ac b/www/wwwoffle/patches/patch-ac index cd047462075..93d81d0b342 100644 --- a/www/wwwoffle/patches/patch-ac +++ b/www/wwwoffle/patches/patch-ac @@ -1,8 +1,24 @@ -$NetBSD: patch-ac,v 1.1 2001/08/14 04:51:46 fredb Exp $ +$NetBSD: patch-ac,v 1.2 2001/08/16 04:23:46 fredb Exp $ ---- sockets6.c.orig Mon Aug 13 23:16:47 2001 +--- sockets6.c.orig Thu Jun 28 13:48:36 2001 +++ sockets6.c -@@ -507,9 +507,12 @@ +@@ -81,7 +81,6 @@ + if(errno!=ETIMEDOUT) + errno=ERRNO_USE_GAI_ERRNO; + PrintMessage(Warning,"Unknown host '%s' for server [%!s].",host); +- freeaddrinfo(server); + return(-1); + } + +@@ -144,7 +143,6 @@ + if(errno!=ETIMEDOUT) + errno=ERRNO_USE_GAI_ERRNO; + PrintMessage(Warning,"Unknown host '%s' for server [%!s].",NULL); +- freeaddrinfo(server); + return(-1); + } + +@@ -507,9 +505,12 @@ struct sigaction action; static char _host[NI_MAXHOST],_ip[46],_port[12]; |