Gisle Vanem wrote: > The Wget-patches list seems to have fallen off the net, so I send > you this simple patch directly. > > > 2009-02-27 Gisle Vanem <[email protected]> > > * main.c: "freopen (NULL,.." causes an assertion in MSVC > debug-mode. I.e. NULL isn't legal. But the "CONOUT$" device works > fine.
Applied (by hand; didn't apply directly, at least to mainline). Huh, I didn't realize until this point that a NULL filename argument wasn't sanctioned by the ISO C standard until C99. -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. Maintainer of GNU Wget and GNU Teseq http://micah.cowan.name/
