From: mtortonesi Date: Mon, 30 Jan 2006 08:46:16 +0000 (-0800) Subject: [svn] Removed broken output file removal patch. X-Git-Tag: v1.13~693 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=b15ddc5b716d904abc9df01ec6ad9e63909b591b [svn] Removed broken output file removal patch. --- diff --git a/src/init.c b/src/init.c index 26b52a57..820f84db 100644 --- a/src/init.c +++ b/src/init.c @@ -1427,15 +1427,7 @@ cleanup (void) /* Free external resources, close files, etc. */ if (output_stream) - { - fclose (output_stream); - if (opt.output_document - && !(total_downloaded_bytes > 0)) - { - unlink (opt.output_document); - } - } - + fclose (output_stream); /* No need to check for error because Wget flushes its output (and checks for errors) after any data arrives. */