trivial spelling corrections

Martin Buchholz martin@xemacs.org
Tue Oct 3 01:10:00 GMT 2000


Index: gcc/config/i370/i370.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i370/i370.md,v
retrieving revision 1.14
diff -u -w -r1.14 i370.md
--- i370.md	2000/09/12 14:58:46	1.14
+++ i370.md	2000/10/03 06:56:18
@@ -298,7 +298,7 @@
 ; cmphi instruction pattern(s).
 ;
 
-; depricate constraint d because it takes multiple instructions
+; deprecate constraint d because it takes multiple instructions
 ; and a memeory access ...
 (define_insn "cmphi"
   [(set (cc0)
Index: libstdc++-v3/testsuite/27_io/istream_seeks.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/27_io/istream_seeks.cc,v
retrieving revision 1.2
diff -u -w -r1.2 istream_seeks.cc
--- istream_seeks.cc	2000/08/14 19:59:25	1.2
+++ istream_seeks.cc	2000/10/03 06:56:18
@@ -86,19 +86,19 @@
   pos01 = is01.tellg();
   pos02 = is01.tellg();
   VERIFY( pos01 == pos02 );
-  //  VERIFY( istream::pos_type(0) != pos01 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos01 ); //deprecated
 
   // in
   pos03 = is02.tellg();
   pos04 = is02.tellg();
   VERIFY( pos03 == pos04 );
-  //  VERIFY( istream::pos_type(0) != pos03 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos03 ); //deprecated
 
   // out
   pos05 = is03.tellg();
   pos06 = is03.tellg();
   VERIFY( pos05 == pos06 );
-  //  VERIFY( istream::pos_type(0) != pos01 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos01 ); //deprecated
 
   // istream& seekg(pos_type)
   // istream& seekg(off_type, ios_base::seekdir)
Index: libstdc++-v3/testsuite/27_io/ostream_seeks.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/27_io/ostream_seeks.cc,v
retrieving revision 1.2
diff -u -w -r1.2 ostream_seeks.cc
--- ostream_seeks.cc	2000/08/14 19:59:25	1.2
+++ ostream_seeks.cc	2000/10/03 06:56:18
@@ -90,19 +90,19 @@
   pos01 = is01.tellp();
   pos02 = is01.tellp();
   VERIFY( pos01 == pos02 );
-  //  VERIFY( istream::pos_type(0) != pos01 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos01 ); //deprecated
 
   // in
   pos03 = is02.tellp();
   pos04 = is02.tellp();
   VERIFY( pos03 == pos04 );
-  //  VERIFY( istream::pos_type(0) != pos03 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos03 ); //deprecated
 
   // out
   pos05 = is03.tellp();
   pos06 = is03.tellp();
   VERIFY( pos05 == pos06 );
-  //  VERIFY( istream::pos_type(0) != pos01 ); //depricated
+  //  VERIFY( istream::pos_type(0) != pos01 ); //deprecated
 
   // istream& seekg(pos_type)
   // istream& seekg(off_type, ios_base::seekdir)


I didn't fix the following, since they are sort of working code.
Typos in public APIs are horrible.

./libstdc++-v3/bits/c++config:60://#define _GLIBCPP_DEPRICATED 1
./libstdc++-v3/bits/ios_base.h:207:#ifdef _GLIBCPP_DEPRICATED
./libstdc++-v3/bits/std_streambuf.h:487:#ifdef _GLIBCPP_DEPRICATED


More information about the Gcc-patches mailing list