diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-05-10 17:05:15 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-05-10 15:05:15 +0000 |
commit | 6e39f8601a5e1eaccbe9f0e050250603ef5826b5 (patch) | |
tree | 1925d5121fd675be32eac3cae0864695cfa31f07 /libstdc++-v3 | |
parent | 03f1640c005e605b450b78713dc84c9f7c8860c5 (diff) | |
download | gcc-6e39f8601a5e1eaccbe9f0e050250603ef5826b5.zip gcc-6e39f8601a5e1eaccbe9f0e050250603ef5826b5.tar.gz gcc-6e39f8601a5e1eaccbe9f0e050250603ef5826b5.tar.bz2 |
3.cc: Remove unnecessary includes and unused string literals.
2003-05-10 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
unnecessary includes and unused string literals.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
From-SVN: r66663
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc | 13 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc | 8 |
3 files changed, 6 insertions, 21 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c827bfd..5ee9e59 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-05-10 Paolo Carlini <pcarlini@unitus.it> + + * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove + unnecessary includes and unused string literals. + * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. + 2003-05-08 Paolo Carlini <pcarlini@unitus.it> * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode. diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc index 94059d0..3f6dfd5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.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/in_avail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc index 306060e..d8ec0a3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/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,8 +33,6 @@ 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 |