[patch] config/c_io_libio.cc - __basic_file::open(...)

brent verner brent@rcfile.org
Sun Jul 2 23:19:00 GMT 2000


On 03 Jul 2000 at 00:02 (-0400), brent verner wrote:
| The following prog bails because we are not closing the __fd for
| the opened file, since _IO_file_attach() sets _IO_DELETE_DONT_CLOSE
| in _flags. the patch further below unsets _IO_DELETE_DONT_CLOSE when
| __basic_file::open() is used.
| 
| NOTE: I haven't been able to test this -- libstdc++-v3 is causing
| an ICE in gcc-20000619 -- but I believe it will do the right thing.

just a note that this has now been tested... all is well :)

-- 
Damon Brent Verner                        o      _     _         _
Cracker Jack? Surprise Certified  _o     /\_   _ \\o  (_)\__/o  (_)
brent@rcfile.org                _< \_   _>(_) (_)/<_    \_| \   _|/' \/
brent@linux1.org               (_)>(_) (_)        (_)   (_)    (_)'  _\o_


More information about the Libstdc++ mailing list