<> "Neil" == Neil Cutcliffe <[EMAIL PROTECTED]> writes:
Neil> I noticed htsearch doesn't accept a conf file name (via the 'config'
Neil> form field) if the file name has any dots ('.') in it? Does anyone
Neil> know the reason for this restriction?
Yes this is a bug ... in design (IMHO), htsearch try to be smarter than
needed ;-) or think we're completely dumb and we didn't read the doc ;-) so
it try to interpret some input you give him, in that case it interpret
the value of the config file like that: "if there is already a dot in config
file name that should mean the user have not read the doc and already put the
extension .conf in that name, so I'll not add it myself".
You really CAN'T have dots in config files names unless you patch the code
or add .conf at the end of the name unlike what is written in the doc. And
here is a small patch, just change the line 108 of the htsearch/htsearch.cc
file from that:
if (input.exists("config") && !strchr(input["config"], '.'))
to that:
if (input.exists("config"))
But after that don't add .conf at the end anymore ...
That's all folks
--
- heddy -
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.