mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
No freopen(NULL,...).
This commit is contained in:
parent
38b873e951
commit
3ab05cfe38
@ -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
|
||||
|
@ -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, _("\
|
||||
|
Loading…
Reference in New Issue
Block a user