summaryrefslogtreecommitdiffstats
path: root/redhat/extras/htdig/patches/drop-bogus-assignment
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2022-11-06 11:46:08 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2022-11-06 16:15:02 +0100
commitb504f7ef7837e88d471f3601da710a92d58108a0 (patch)
tree2874f5894582ac03efd73e22d0a374cc97d33cac /redhat/extras/htdig/patches/drop-bogus-assignment
parent91c340e19d9a2c81194e7adb5900c8f69bbd7735 (diff)
downloadtde-packaging-b504f7ef.tar.gz
tde-packaging-b504f7ef.zip
RPM: updates (cherry-pick from TDE R14.0.13)
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/extras/htdig/patches/drop-bogus-assignment')
-rw-r--r--redhat/extras/htdig/patches/drop-bogus-assignment16
1 files changed, 16 insertions, 0 deletions
diff --git a/redhat/extras/htdig/patches/drop-bogus-assignment b/redhat/extras/htdig/patches/drop-bogus-assignment
new file mode 100644
index 000000000..2328280e3
--- /dev/null
+++ b/redhat/extras/htdig/patches/drop-bogus-assignment
@@ -0,0 +1,16 @@
+--- htdig-3.2.0b6.orig/htdig/Parsable.cc
++++ htdig-3.2.0b6/htdig/Parsable.cc
+@@ -74,7 +74,6 @@ Parsable::addString(Retriever& retriever
+ retriever.got_word(w, wordindex++, slot); // slot for img_alt
+ w = HtWordToken(0);
+ }
+- w = '\0';
+ }
+
+ //*****************************************************************************
+@@ -92,5 +91,4 @@ Parsable::addKeywordString(Retriever& re
+ retriever.got_word(w, wordindex++, 9);
+ w = HtWordToken(0);
+ }
+- w = '\0';
+ }