[Bug libstdc++/25653] Documentation bug in ext/stdio_filebuf.h

2006-01-03 Thread rleigh at debian dot org
--- Comment #3 from rleigh at debian dot org 2006-01-03 23:49 --- Looking at _M_cfile_created as you suggested, it does look like the documentation is correct as it stands. Sorry for the waste of time. Thanks, Roger -- rleigh at debian dot org changed: What|Removed

[Bug libstdc++/25653] Documentation bug in ext/stdio_filebuf.h

2006-01-03 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-01-03 22:42 --- (In reply to comment #1) > On further investigation, it looks like when a stdio_filebuf is destroyed, > this will ultimately invoke __basic_file::close(). This calls fclose(). I think this is not true for the constructor a

[Bug libstdc++/25653] Documentation bug in ext/stdio_filebuf.h

2006-01-03 Thread rleigh at debian dot org
--- Comment #1 from rleigh at debian dot org 2006-01-03 20:52 --- On further investigation, it looks like when a stdio_filebuf is destroyed, this will ultimately invoke __basic_file::close(). This calls fclose(). If an fd is used, fdopen() is called to create a __c_file*. If this is c