1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Only use FILE.N.html if FILE.html exists.

This commit is contained in:
hniksic 2006-02-25 15:28:49 -08:00
parent 9bd8e5c94e
commit e8b61e46ab
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-02-25 Hrvoje Niksic <hniksic@xemacs.org>
* http.c (gethttp): Only use FILE.N.html if FILE.html exists.
2006-02-09 Hrvoje Niksic <hniksic@xemacs.org>
* mswindows.c (run_with_timeout): Made thread_hnd non-static.

View File

@ -1979,7 +1979,7 @@ File `%s' already there; not retrieving.\n\n"), hs->local_file);
strcpy(hs->local_file + local_filename_len, ".html");
/* If clobbering is not allowed and the file, as named,
exists, tack on ".NUMBER.html" instead. */
if (!ALLOW_CLOBBER)
if (!ALLOW_CLOBBER && file_exists_p (hs->local_file))
{
int ext_num = 1;
do