This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch - implementation of stdio_fstream (follow up comment)


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]