[Issue 1550] D DLLs close standard input/output streams when unloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 7 11:20:58 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=1550


Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de


--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 2010-04-07 11:20:55 PDT ---
The workaround (setting _fcloseallp = null) also prevents any other open file
from being closed.

I think it should be fixed in the C-runtime library, where the handle for
stdin/out/err is taken from a call to GetStdHandle(), and probably should not
be closed when terminating.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list