summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/include/std/std_fstream.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-06-03 03:29:38 +0000
committerkan <kan@FreeBSD.org>2005-06-03 03:29:38 +0000
commit3b6c93380e20c56b8151f9c6fc3916670b987df5 (patch)
treec4e455c4fe8d2a3ed1d621536386e3e252ad36bc /contrib/libstdc++/include/std/std_fstream.h
parent2156e40a831a8e0ab68e4bc091c2940bf46ca6df (diff)
downloadFreeBSD-src-3b6c93380e20c56b8151f9c6fc3916670b987df5.zip
FreeBSD-src-3b6c93380e20c56b8151f9c6fc3916670b987df5.tar.gz
Gcc 3.4.4 C++ support bits.
Diffstat (limited to 'contrib/libstdc++/include/std/std_fstream.h')
-rw-r--r--contrib/libstdc++/include/std/std_fstream.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/contrib/libstdc++/include/std/std_fstream.h b/contrib/libstdc++/include/std/std_fstream.h
index 040f579..3dec366 100644
--- a/contrib/libstdc++/include/std/std_fstream.h
+++ b/contrib/libstdc++/include/std/std_fstream.h
@@ -418,24 +418,7 @@ namespace std
// [documentation is inherited]
virtual streamsize
- xsgetn(char_type* __s, streamsize __n)
- {
- // Clear out pback buffer before going on to the real deal...
- streamsize __ret = 0;
- if (this->_M_pback_init)
- {
- if (__n && this->gptr() == this->eback())
- {
- *__s++ = *this->gptr();
- this->gbump(1);
- __ret = 1;
- }
- _M_destroy_pback();
- }
- if (__ret < __n)
- __ret += __streambuf_type::xsgetn(__s, __n - __ret);
- return __ret;
- }
+ xsgetn(char_type* __s, streamsize __n);
// [documentation is inherited]
virtual streamsize
OpenPOWER on IntegriCloud