This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14600] New: __gnu_cxx::stdio_sync_filebuf should expose internal FILE*
- From: "Richard dot Kreckel at Framatome-ANP dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2004 09:45:17 -0000
- Subject: [Bug libstdc++/14600] New: __gnu_cxx::stdio_sync_filebuf should expose internal FILE*
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Similar to the __gnu_cxx::stdio_filebuf<>::fd() member function, there should be
a __gnu_cxx::stdio_sync_filebuf::c_file() member function which returns the
underlying FILE*.
With the advent of __gnu_cxx::stdio_sync_filebuf<> that feature becomes needed
for interfacing to good ol' Unix machinery. A patch was proposed on
<http://gcc.gnu.org/ml/libstdc++/2004-02/msg00379.html>. It even appears that
consensus had been reached:
<http://gcc.gnu.org/ml/libstdc++/2004-02/msg00189.html>. Due to the trivial
nature of the patch, it should also be considered a candidate for 3.4.x.
--
Summary: __gnu_cxx::stdio_sync_filebuf should expose internal
FILE*
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Richard dot Kreckel at Framatome-ANP dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14600