At 2:45 PM -0800 11/19/00, Joe R. Jah wrote:
>It is important that it compiles on as many platforms as possible. I have
>been trying to compile 3.2x on BSDI without success. It requires some
>system header files that are nonexistent on BSDI: langinfo.h, nl_type.h,
>features.h, and perhaps other files.
Let's hold on a second here. Yes, it's important that it compiles on
as many platforms as possible. Last I heard, the code (i.e. 3.2.0b2
or later) compiles on: FreeBSD, Solaris, IRIX, Linux, HP-UX, and AIX.
Please correct me if I'm wrong with these.
However, I'm just not going to put in a whole pile of headers for
just the strptime.c replacement. As it stands, I think it's silly
that I've put in two headers (langinfo.h and nl_type.h) for the one
file when it only seems a problem on BSDI. And putting in a whole
slew of glibc header files just doesn't make any sense, esp. when it
seems it's not a problem on other platforms (which seem to have
langinfo.h).
So let's step back for a second. Why am I using this strptime.c
replacement? This is the glibc version, picked because it's portable,
reliable and most importantly well-maintained. So I see two
possibilities:
a) Someone finds me a strptime.c that's maintained by someone else
and doesn't need these headers. (For example, what do the *BSD
versions use for their libc?)
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.
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.*
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.