On Thu, 26 Jul 2001, Gilles Detillieux wrote:
> Date: Thu, 26 Jul 2001 15:31:55 -0500 (CDT)
> From: Gilles Detillieux <[EMAIL PROTECTED]>
> To: "ht://Dig mailing list" <[EMAIL PROTECTED]>
> Subject: [htdig] PATCH: new boolean_keywords patch for 3.1.5
>
> Hi, folks. Here's an updated version of the bool_keywords.1 patch
> for 3.1.5. This one adds two new attributes, boolean_keywords and
> boolean_syntax_errors, so you can fully internationalize the htsearch
> user interface.
>
> I've already committed this code to the 3.1.6 CVS tree, so it'll be
> in the next snapshot, but I'm posting it here for two reasons: 1) to
> encourage more testing of these changes (or the upcoming snapshot which
> has all sorts of other goodies), and 2) to ask for someone to port these
> changes to 3.2.0b4.
>
> As usual, apply with "patch -p0 < this-message". Comments are welcome,
> but after tomorrow, I won't be checking my e-mail for 3 weeks.
All, but one hunk succeeded to apply to a fully patched 3.1.6:)
___________________________________________________________________
patching file `htsearch/parser.cc'
Hunk #1 FAILED at 9.
Hunk #2 succeeded at 39 (offset 2 lines).
Hunk #4 succeeded at 114 (offset 2 lines).
Hunk #6 succeeded at 194 (offset 2 lines).
Hunk #7 succeeded at 434 (offset 6 lines).
1 out of 7 hunks FAILED -- saving rejects to htsearch/parser.cc.rej
patching file `htdoc/attrs.html'
Hunk #1 succeeded at 616 (offset 96 lines).
patching file `htdoc/cf_byname.html'
Hunk #1 succeeded at 28 (offset 2 lines).
patching file `htdoc/cf_byprog.html'
Hunk #1 succeeded at 123 with fuzz 2 (offset 4 lines).
htsearch/parser.cc.rej:
Parser::Parser()
--- 9,22 ----
#endif
#include "parser.h"
+ #include "QuotedStringList.h"
#define WORD 1000
#define DONE 1001
+ extern StringList boolean_keywords;
+ QuotedStringList boolean_syntax_errors;
___________________________________________________________________
I manually applied the above; it compiled, indexed, merged, and have been
searching without a problem. I haven't changed my configuration file to
take advantage of the new attributes, though.
Regards,
Joe
--
_/ _/_/_/ _/ ____________ __o
_/ _/ _/ _/ ______________ _-\<,_
_/ _/ _/_/_/ _/ _/ ......(_)/ (_)
_/_/ oe _/ _/. _/_/ ah [EMAIL PROTECTED]
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html