According to Christopher Murtagh: > On Wed, 2004-02-18 at 17:39, Gilles Detillieux wrote: > > Hmm. This would suggest that the '/' has a special meaning to your > > regcomp() function. How about you try adding a / character to the list > > of special characters in the strchr() call on line 81 of htlib/HtRegex.cc > > (in HtRegex::setEscaped()), to see if escaping the slash helps. > > > > Is this a quirk unique to RH Enterprise AS, or has it appeared on other > > systems too? > > Well, I've tried the change that you made, on a freshly decompressed > tarball (make clean doesn't), and it left me with an htsearch binary > that's exactly the same size to the byte (and diff claims they are > identical). So, should this have changed a shared lib somewhere or the > htsearch binary? > > Either way, I'm still getting the same result. If I have a '/' in my > require value, I get no results. > > Any other guesses as to what it might be?
Yes, unless you configure 3.2.0b5 with --disable-shared, then htlib/HtRegex.cc will wind up in the libht.so shared library, not right in the htsearch binary. So, you'd need to install the rebuilt shared library, and possibly kill all running ht://Dig programs, before htsearch would use the modified HtRegex code. I almost always build 3.2 binaries with --disable-shared, because I'm not particularly interested in using the shared libraries, and dealing with the extra complications they entail. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev
