According to Joe R. Jah:
> On Sun, 19 Nov 2000, Geoff Hutchison wrote:
> > b) Someone gives me a nice guarantee that strptime works *correctly*
> > most platforms or helps me come up with a configure test for it so
> > we'll use the system version where available and our version
> > otherwise.
>
> The configure test seems to be the perfect solution, also for regex.h.
You have to be careful about the regex handling! The mere fact that
a system library version of regex is available doesn't mean it's the
best choice! On my Red Hat 4.2 system, if you use the system library's
regex code, instead of the one bundled in with htdig, then the regex
code core dumps. I think there's an incompatibility between it and the
C++ libraries. I haven't tested this on more recent distributions of
Red Hat to see if the problem still exists, but this one failure was
enough to make me realize that a simple test of its presence won't be
adequate.
> > Look, if you have strptime on your system, you can patch the code.
> > Just rip out strptime.c and edit the appropriate places in the
> > code--I think they're now all localized to HtDateTime.*
>
> I have searched for strptime all over my system without success.
In this case, the configure test won't help, as you're back to needing
the bundled version. I think the solution might be to rewrite the
bundled version slightly so as to dissociate it from all the header
files it now seems to need.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.