This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Move pback members from basic_streambuf to basic_filebuf
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 23 Apr 2003 19:52:51 +0200
- Subject: Re: [Patch] Move pback members from basic_streambuf to basic_filebuf
- References: <3EA56CA5.6050904@unitus.it> <3EA6C141.2090401@pop.agri.ch>
Andreas, can you please test the below??
If I don't hear from you in the next few hours probably
will commit it anyway, since I'm almost sure of its correctness
but I would appreciate a feedback from you.
Thanks!
Paolo.
////////
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_filebuf/3.cc libstdc++-v3/testsuite/27_io/basic_filebuf/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_filebuf/3.cc 2003-04-10 09:15:27.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_filebuf/3.cc 2003-04-23 19:45:35.000000000 +0200
@@ -131,7 +131,7 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
+ std::basic_filebuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_fstream/3.cc libstdc++-v3/testsuite/27_io/basic_fstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_fstream/3.cc 2003-04-10 09:15:29.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_fstream/3.cc 2003-04-23 19:45:53.000000000 +0200
@@ -135,7 +135,7 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
+ std::basic_filebuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ifstream/3.cc libstdc++-v3/testsuite/27_io/basic_ifstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ifstream/3.cc 2003-04-10 09:15:29.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ifstream/3.cc 2003-04-23 19:46:09.000000000 +0200
@@ -135,7 +135,7 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
+ std::basic_filebuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ios/3.cc libstdc++-v3/testsuite/27_io/basic_ios/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ios/3.cc 2003-04-10 09:15:29.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ios/3.cc 2003-04-23 19:46:24.000000000 +0200
@@ -133,7 +133,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_iostream/3.cc libstdc++-v3/testsuite/27_io/basic_iostream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_iostream/3.cc 2003-04-10 09:15:30.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_iostream/3.cc 2003-04-23 19:46:37.000000000 +0200
@@ -135,7 +135,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_istream/3.cc libstdc++-v3/testsuite/27_io/basic_istream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_istream/3.cc 2003-04-10 09:15:30.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_istream/3.cc 2003-04-23 19:46:52.000000000 +0200
@@ -133,7 +133,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc 2003-04-12 23:13:12.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc 2003-04-23 19:47:17.000000000 +0200
@@ -183,7 +183,7 @@
template
std::basic_streambuf<unsigned char>::int_type
- std::basic_streambuf<unsigned char>::_S_pback_size;
+ std::basic_filebuf<unsigned char>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_istringstream/3.cc libstdc++-v3/testsuite/27_io/basic_istringstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_istringstream/3.cc 2003-04-10 09:15:32.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_istringstream/3.cc 2003-04-23 19:47:38.000000000 +0200
@@ -135,7 +135,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ofstream/3.cc libstdc++-v3/testsuite/27_io/basic_ofstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ofstream/3.cc 2003-04-10 09:15:32.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ofstream/3.cc 2003-04-23 19:47:52.000000000 +0200
@@ -135,7 +135,7 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
+ std::basic_filebuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ostream/3.cc libstdc++-v3/testsuite/27_io/basic_ostream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ostream/3.cc 2003-04-10 09:15:33.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ostream/3.cc 2003-04-23 19:48:08.000000000 +0200
@@ -135,7 +135,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc 2003-04-12 23:13:12.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc 2003-04-23 19:48:26.000000000 +0200
@@ -154,7 +154,7 @@
template
std::basic_streambuf<unsigned char>::int_type
- std::basic_streambuf<unsigned char>::_S_pback_size;
+ std::basic_filebuf<unsigned char>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_ostringstream/3.cc libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_ostringstream/3.cc 2003-04-10 09:15:34.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_ostringstream/3.cc 2003-04-23 19:48:46.000000000 +0200
@@ -135,7 +135,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_streambuf/3.cc libstdc++-v3/testsuite/27_io/basic_streambuf/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_streambuf/3.cc 2003-04-10 09:15:35.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_streambuf/3.cc 2003-04-23 19:49:01.000000000 +0200
@@ -133,7 +133,7 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
+ std::basic_filebuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_stringbuf/3.cc libstdc++-v3/testsuite/27_io/basic_stringbuf/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_stringbuf/3.cc 2003-04-10 09:15:36.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_stringbuf/3.cc 2003-04-23 19:49:19.000000000 +0200
@@ -131,7 +131,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()
diff -urN libstdc++-v3-orig/testsuite/27_io/basic_stringstream/3.cc libstdc++-v3/testsuite/27_io/basic_stringstream/3.cc
--- libstdc++-v3-orig/testsuite/27_io/basic_stringstream/3.cc 2003-04-10 09:15:38.000000000 +0200
+++ libstdc++-v3/testsuite/27_io/basic_stringstream/3.cc 2003-04-23 19:49:36.000000000 +0200
@@ -135,7 +135,6 @@
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_streambuf<gnu_char_type>::int_type
- std::basic_streambuf<gnu_char_type>::_S_pback_size;
#endif
int main()