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.