According to Gabriele Bartolini:
> I think there's a little "bug" for setting the modification date of a URL.
>
> The documentation says that modification_time_is_now parameter is taken in
> consideration only if the server doesn't send any. But the line
> "Last-modification" is only parsed if modtime is equal to 0.
>
> Though, if you set the parameter above to true, modtime is set to 0 and the
> header line doesn't get parsed.
>
> Probably I haven't understood how it really works ... Let me know.
>
> If I run htdig without -vvv and with modification_time_is_now is false, it
> works fine (except the problem above).
>
> Then I tried to run htdig -vvv but function getdate throws a core. I
> lcoalized it at height of strftime function.
Does it give any messages about what date string it's translating or
converting just before it dumps core? If so, what is it? If not, could
you add calls to cout.flush() just before the calls to strftime(), just to
make sure the output goes out? The only thing I can think of that would
make strftime() segfault would be a month that's way out of range. If the
cout.flush() still doesn't reveal any useful clues, you may want to add
in more trace prints just before the flush(), to show what all the fields
in the tm structure are before the call to strftime(). There may be a
need for more error checking between the strptime() and strftime() calls,
but it sounds to me like your HTTP server may be outputing wierd dates,
or one of the conversion functions is broken on your system.
--
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] containing the single word "unsubscribe" in
the SUBJECT of the message.