DMD 2.055 Crashing on Windows 7 x64 (So is my D program)

Steven Schveighoffer schveiguy at yahoo.com
Tue Sep 27 10:22:34 PDT 2011


On Mon, 26 Sep 2011 19:15:08 -0400, Mehrdad <wfunction at hotmail.com> wrote:

> On 9/26/2011 3:41 PM, Steven Schveighoffer wrote:
>> Probably -- let the OS close the handles instead of manually closing  
>> them :)
>>
>> -Steve
> I don't think that's a good idea because snn.lib likely does its own  
> internal buffering of the data, which would be lost if the stream isn't  
> closed.

That's what fflush is for.  The handles should simply be closed by the OS.

-Steve


More information about the Digitalmars-d mailing list