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

No freopen(NULL,...).

This commit is contained in:
Gisle Vanem 2009-03-01 00:08:44 -08:00
parent 38b873e951
commit 3ab05cfe38
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-02-27 Gisle Vanem <gvanem@broadpark.no>
* main.c (main): "freopen (NULL,.." causes an assertion in MSVC
debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works
fine.
2009-02-21 Steven Schubiger <stsc@member.fsf.org>
* http.c (http_loop): When a document is written to

View File

@ -1124,7 +1124,7 @@ for details.\n\n"));
{
#ifdef WINDOWS
FILE *result;
result = freopen (NULL, "wb", stdout);
result = freopen ("CONAIR$", "wb", stdout);
if (result == NULL)
{
logputs (LOG_NOTQUIET, _("\