According to Stefan Seiz: > On 17.9.2002 19:55 Uhr, Gilles Detillieux <[EMAIL PROTECTED]> wrote: > > According to Stefan Seiz: > >> Sorry to bother you directly, but i really have a big showstopper for me > >> here with 3.1.6 on OSX. Maybe the message to the list got overlooked... So > > > > I still have your message to the list in my mailbox, because there hasn't > > been any followup to it. However, I don't have an OS X system, so I can't > > really help track this down. I was hoping Geoff would respond, as he does > > have access to OS X. > > Ah, ok. Thanks! So I'll wait a bit longer for geoff to catch up. > > I thought maybe one of you could put together a simple c program which just > includes the Date-Conversion algorithm (from htdig where seconds since epoch > get converted... which I assume is the cause of the problem) so we could > test if it spits out correct values on osx. I can't programm but I can > compile ;-)
If that's the part you suspect is failing, then you should be able to confirm that by running htdig -vvv. Look for the messages where it outputs the Last-Modified header, and then says something like "Converted ... to ...", which shows the original and regenerated date string after parsing. If the second one is wrong, then you are right in that the problem is somewhere in the parsing. In that case, try adding trace prints in the parsedate() function in htdig/Document.cc (minimal programming skills required, just look at how other debug output is done). If the second date string is fine, it could be a problem related to refetching this info from the database, or some memory leak somewhere. I thought you mentioned that an htdump showed correct, non-zero modtimes. Such a problem would be harder to track down. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

