------- Comment #10 from Jerry_V_DeLisle at rl dot gov 2008-02-06 20:25 ------- Reply to comment #9:
This is a very important observation. I have checked the code and we have code that free's the internal unit (free_internal_unit) and I have confirmed that it is called correctly after every write. My current thinking now is that we are not locking/unlocking the unit correctly and maybe it is this lock that is leaving behind a windows handle. Stay tuned, and thanks for reporting this observation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063