3.cc: Remove unnecessary includes and unused string literals.
authorPaolo Carlini <pcarlini@unitus.it>
Sat, 10 May 2003 15:05:15 +0000 (17:05 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 10 May 2003 15:05:15 +0000 (15:05 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc
libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc

index c827bfdb26163def13050404279121d382d64bc1..5ee9e59bd18e41e81476b1e735325ee9a33eccc5 100644 (file)
@@ -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.
index 94059d0ee59bd64cd97611de5087402be07447f6..3f6dfd56b3a28dff12eadf90b9ce89bc9fad4fdf 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 306060e593707a96e3d828f4b92fbc5a3d71cc3d..d8ec0a3546e9794a1e99cd6ad68e5033d5e91e67 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
@@ -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