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:
parent
9bd8e5c94e
commit
e8b61e46ab
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user