From: Gilles Detillieux To: htdig@htdig.org Subject: [htdig] Patch This patch fixes a bug in the PDF parser. When the Title header was just the temporary file name, it wouldn't be used, but it also wouldn't be cleared from the _parsedString variable, so it ended up polluting the document excerpt. --- htdig-3.1.2/htdig/PDF.cc.orig Wed Apr 21 21:47:57 1999 +++ htdig-3.1.2/htdig/PDF.cc Tue May 25 12:01:43 1999 @@ -290,8 +290,8 @@ void PDF::parseNonTextLine(String &line) _parsedString.get()); _retriever->got_title(_parsedString); - _parsedString = 0; } + _parsedString = 0; } }