+2002-04012 Ian Abbott <abbotti@mev.co.uk>
+
+ * http.c (http_loop): Compensate for MS Windows two-second
+ granularity of file modification time when comparing timestamps.
+
+ * ftp.c (ftp_retrieve_list): Ditto.
+
2002-04-12 Ian Abbott <abbotti@mev.co.uk>
* utils.c (has_html_suffix_p): New function to test filename for
/* Else, get it from the file. */
local_size = st.st_size;
tml = st.st_mtime;
+#ifdef WINDOWS
+ /* Modification time granularity is 2 seconds for Windows, so
+ increase local time by 1 second for later comparison. */
+ tml++;
+#endif
/* Compare file sizes only for servers that tell us correct
values. Assumme sizes being equal for servers that lie
about file size. */
{
use_ts = 1;
tml = st.st_mtime;
+#ifdef WINDOWS
+ /* Modification time granularity is 2 seconds for Windows, so
+ increase local time by 1 second for later comparison. */
+ tml++;
+#endif
local_size = st.st_size;
got_head = 0;
}