Call to Runtime.unloadLibrary corrupts stdout and stderr

Brad Roberts via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 3 23:20:15 PDT 2017


On 9/3/2017 1:07 PM, Rainer Schuetze via Digitalmars-d wrote:
>
> This workaround has side effects, i.e. it doesn't automatically close 
> any file still open by the DLLs' instance of the C runtime, so it 
> might cause incomplete files if someone relies on these being 
> automatically flushed and closed.
>
> It's a bug in the dmc runtime. Only Walter can fix it as it is closed 
> source.

The source is on github, but it's in a private repo.  I'm sure Walter 
would be happy to give access to it should someone who wants to fix it 
step forward and ask him.


More information about the Digitalmars-d mailing list