diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 21:01:39 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 21:01:39 +0000 |
commit | 9fb0ccbb361e1fc16a69a6d9b44b7bbf7991f097 (patch) | |
tree | 820a7a2c89aebe140a0bd8ca30a09ccdd4a8d69c /libstdc++-v3 | |
parent | da33415cc3f8fdcbb5c747e66de01c1060ecfb79 (diff) | |
download | gcc-9fb0ccbb361e1fc16a69a6d9b44b7bbf7991f097.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66735 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
6 files changed, 9 insertions, 65 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fd0ac14c42f..9ea0c9f2a29 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1.cc index f5a194c3212..37573c8edfd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1.cc @@ -21,12 +21,6 @@ // 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 @@ -39,16 +33,9 @@ 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 { diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1.cc index 0f2eb896f5b..61fc0b54b0e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1.cc @@ -21,12 +21,6 @@ // 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 @@ -39,16 +33,9 @@ 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 { diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1.cc index 875f37e8ae1..b02c70fb49a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1.cc @@ -21,12 +21,6 @@ // 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 @@ -39,16 +33,9 @@ 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 { diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1.cc index a8bafd50788..151ae42d66f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1.cc @@ -21,12 +21,6 @@ // 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 @@ -39,16 +33,9 @@ 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 { diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1.cc index c0f2520c7d1..201217ea00a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1.cc @@ -21,12 +21,6 @@ // 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 @@ -39,16 +33,9 @@ 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 { |