bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Patch] main.c


From: Micah Cowan
Subject: Re: [Bug-wget] [Patch] main.c
Date: Sun, 01 Mar 2009 00:08:55 -0800
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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  <address@hidden>
> 
>      * 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]