diff options
Diffstat (limited to 'net/p5-Wais/patches/patch-ac')
-rw-r--r-- | net/p5-Wais/patches/patch-ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/p5-Wais/patches/patch-ac b/net/p5-Wais/patches/patch-ac new file mode 100644 index 00000000000..820f1708266 --- /dev/null +++ b/net/p5-Wais/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $ + +--- lib/Wais.pm.orig Mon Aug 3 18:59:14 1998 ++++ lib/Wais.pm Mon May 10 23:58:41 1999 +@@ -197,7 +197,7 @@ + last unless $message; + $presult = &Wais::Search::new($message); + $result->add('document', $presult); +- last if length($presult->text) != $Wais::CHARS_PER_PAGE; ++ last if length($result->text) != $Wais::CHARS_PER_PAGE; + } + } else { + $fh = new IO::Socket::INET(PeerAddr => $host, +@@ -215,7 +215,7 @@ + $fh->read($message, $length); + $presult = &Wais::Search::new($message); + $result->add('document', $presult); +- last if length($presult->text) != $Wais::CHARS_PER_PAGE; ++ last if length($result->text) != $Wais::CHARS_PER_PAGE; + } + $fh->close; + } |