1.cc: Remove unnecessary includes and unused string literals.
authorPaolo Carlini <pcarlini@unitus.it>
Mon, 12 May 2003 21:01:39 +0000 (23:01 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 12 May 2003 21:01:39 +0000 (21:01 +0000)
2003-05-12  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
unnecessary includes and unused string literals.
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.

From-SVN: r66735

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1.cc

index fd0ac14c42fae5f608848e20f2c527a807eab252..9ea0c9f2a29d00a56e824fef3f93d4c9075e3bc5 100644 (file)
@@ -1,3 +1,12 @@
+2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
+       unnecessary includes and unused string literals.
+       * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
+       * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
+
 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
index f5a194c32124d687c867e66dcfe00465264b056f..37573c8edfdae60c9b9699d07bc9d2e455e5f94e 100644 (file)
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {
index 0f2eb896f5b7f3765528b1b4dbb86b78975a1dfd..61fc0b54b0efae4937cb3640d2caf2d0c360542a 100644 (file)
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {
index 875f37e8ae18ee1df99b055e30e5a52e68879be5..b02c70fb49a1c4c5587f9b971551bec5752e304b 100644 (file)
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {
index a8bafd50788bab47ca01d8939e4f3107858ae4b1..151ae42d66f72525f535f35b95620ab4770697d2 100644 (file)
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {
index c0f2520c7d106e7b123c89fb9051c4e9a133f843..201217ea00aa41bbd533fe1d869a3674caa92c3a 100644 (file)
 // 27.8.1.4 Overridden virtual functions
 
 #include <fstream>
-#include <unistd.h>
-#include <signal.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <locale>
 #include <testsuite_hooks.h>
 
 // @require@ %-*.tst %-*.txt
 const int buffer_size = 8192;
 //const int buffer_size = 40;
 
-const char carray_01[] = "santa cruz or sandiego?";
-const char carray_02[] = "memphis, new orleans, and savanah";
 const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
 const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create
 const char name_03[] = "filebuf_virtuals-3.txt"; // empty file, need to create
-const char name_04[] = "filebuf_virtuals-4.txt"; // empty file, need to create
-const char name_05[] = "filebuf_virtuals-5.txt"; // empty file, need to create
-const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
-const char name_07[] = "filebuf_virtuals-7.txt"; // empty file, need to create
-const char name_08[] = "filebuf_virtuals-8.txt"; // empty file, need to create
 
 class derived_filebuf: public std::filebuf
 {