Greetings Gilles, Wim, I think Gilles means "== instead of <=" (not != ).
Cheers, Lachlan On Tue, 27 Apr 2004 05:42 am, Gilles Detillieux wrote: > Around line 750 in htdig/Document.cc, in version 3.1.6, is this > code: > > modtime = stat_buf.st_mtime; > if (modtime <= date) > return Document_not_changed; > > So, if the local file's modified time is than the time in the > database (which is 0, i.e. the UNIX epoch - 1 Jan 1970 00:00 UTC > for a new entry), it's treated as not changed. That test should > probably be != instead of <=, or there should be an exception made > when date == 0. -- [EMAIL PROTECTED] ht://Dig developer DownUnder (http://www.htdig.org) ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ ht://Dig Developer mailing list: [EMAIL PROTECTED] List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-dev
