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]

Re: [Patch] Move pback members from basic_streambuf to basic_filebuf


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() 

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