patch - implementation of stdio_fstream (follow up comment)

Robert Schweikert rjschwei@cox.net
Wed Feb 18 01:38:00 GMT 2004


Just one more comment to the failing test. If I create the fstream with
mode out only, i.e.

_M_filebuf(__fd, std::ios_base::out)

instead of in|out

_M_filebuf(__fd, std::ios_base::in|std::ios_base::out)

I can write to the file just fine. This would be found in
stdio_fstream.h on line 228.

Looks like some underlying code may not work quite as expected.

Thanks,
Robert

-- 
Robert Schweikert                   MAY THE SOURCE BE WITH YOU
rjschwei@cox.net                               LINUX




More information about the Libstdc++ mailing list