|
From: Geoff H. <ghu...@ws...> - 2002-09-12 02:54:57
|
> Is there any reason we can't move to using the global > > _config = HtConfiguration::config(); In the merge, I'm trying to go on the rule of "least possible changes," which is still quite a lot, even in the ht://Dig code (rather than db/ or htword/). AFAICT, some of the htword/ destructors seem to set _config to NULL, which then kills the global HtConfiguration::config pointer. This is mostly a problem in htsearch currently, where things hit Display and go splat. Then again, I've been hunting after the same problem in Display when the *copy* of _config gets hammered and htsearch segfaults, so who can say it's worse... -Geoff |