diff mbox

Fix spelling in libstdc++ docs and comments

Message ID CAH6eHdQoGBY5gocp=cXF7_ABqmX7C_=5Ad1iD0t+ztpdR6+ewA@mail.gmail.com
State New
Headers show

Commit Message

Jonathan Wakely Feb. 20, 2013, 10:41 p.m. UTC
* doc/html/faq.html: Fix spelling.
        * doc/xml/faq.xml: Likewise.
        * include/bits/basic_ios.h: Likewise.
        * include/bits/regex.h: Likewise.
        * include/std/istream: Likewise.
        * include/std/streambuf: Likewise.

Tested x86_64-linux, committed to trunk
commit 739effe92edc43ef724f0ffef525e6ed23e62074
Author: Jonathan Wakely <jwakely.gcc@gmail.com>
Date:   Wed Feb 20 22:11:06 2013 +0000

    	* doc/html/faq.html: Fix spelling.
    	* doc/xml/faq.xml: Likewise.
    	* include/bits/basic_ios.h: Likewise.
    	* include/bits/regex.h: Likewise.
    	* include/std/istream: Likewise.
    	* include/std/streambuf: Likewise.
diff mbox

Patch

diff --git a/libstdc++-v3/doc/html/faq.html b/libstdc++-v3/doc/html/faq.html
index 0c1d328..91952071 100644
--- a/libstdc++-v3/doc/html/faq.html
+++ b/libstdc++-v3/doc/html/faq.html
@@ -503,7 +503,7 @@ 
     Short answer: Pretty much everything <span class="emphasis"><em>works</em></span>
     except for some corner cases.  Support for localization
     in <code class="classname">locale</code> may be incomplete on non-GNU
-    platforms. Also dependant on the underlying platform is support
+    platforms. Also dependent on the underlying platform is support
     for <span class="type">wchar_t</span> and <span class="type">long
     long</span> specializations, and details of thread support.
     </p><p>    
diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-v3/doc/xml/faq.xml
index 1408bd2..4e33392 100644
--- a/libstdc++-v3/doc/xml/faq.xml
+++ b/libstdc++-v3/doc/xml/faq.xml
@@ -685,7 +685,7 @@ 
     Short answer: Pretty much everything <emphasis>works</emphasis>
     except for some corner cases.  Support for localization
     in <classname>locale</classname> may be incomplete on non-GNU
-    platforms. Also dependant on the underlying platform is support
+    platforms. Also dependent on the underlying platform is support
     for <type>wchar_t</type> and <type>long
     long</type> specializations, and details of thread support.
     </para>
diff --git a/libstdc++-v3/include/bits/basic_ios.h b/libstdc++-v3/include/bits/basic_ios.h
index b78b464..5325800 100644
--- a/libstdc++-v3/include/bits/basic_ios.h
+++ b/libstdc++-v3/include/bits/basic_ios.h
@@ -69,7 +69,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
       //@{
       /**
        *  These are standard types.  They permit a standardized way of
-       *  referring to names of (or names dependant on) the template
+       *  referring to names of (or names dependent on) the template
        *  parameters, which are specific to the implementation.
       */
       typedef _CharT                                 char_type;
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h
index 39704be..101925a 100644
--- a/libstdc++-v3/include/bits/regex.h
+++ b/libstdc++-v3/include/bits/regex.h
@@ -135,7 +135,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
 	}
 
       /**
-       * @brief Gets a sort key for a character sequence, independant of case.
+       * @brief Gets a sort key for a character sequence, independent of case.
        *
        * @param __first beginning of the character sequence.
        * @param __last  one-past-the-end of the character sequence.
@@ -185,7 +185,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
        * the returned mask identifies the classification regardless of
        * the case of the characters to be matched (for example,
        * [[:lower:]] is the same as [[:alpha:]]), otherwise a
-       * case-dependant classification is returned.  The value
+       * case-dependent classification is returned.  The value
        * returned shall be independent of the case of the characters
        * in the character sequence. If the name is not recognized then
        * returns a value that compares equal to 0.
diff --git a/libstdc++-v3/include/std/istream b/libstdc++-v3/include/std/istream
index ae1485f..861bca5 100644
--- a/libstdc++-v3/include/std/istream
+++ b/libstdc++-v3/include/std/istream
@@ -660,7 +660,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
       bool _M_ok;
 
     public:
-      /// Easy access to dependant types.
+      /// Easy access to dependent types.
       typedef _Traits 					traits_type;
       typedef basic_streambuf<_CharT, _Traits> 		__streambuf_type;
       typedef basic_istream<_CharT, _Traits> 		__istream_type;
diff --git a/libstdc++-v3/include/std/streambuf b/libstdc++-v3/include/std/streambuf
index 0fb2f07..00b3dd1 100644
--- a/libstdc++-v3/include/std/streambuf
+++ b/libstdc++-v3/include/std/streambuf
@@ -123,7 +123,7 @@  _GLIBCXX_BEGIN_NAMESPACE_VERSION
       //@{
       /**
        *  These are standard types.  They permit a standardized way of
-       *  referring to names of (or names dependant on) the template
+       *  referring to names of (or names dependent on) the template
        *  parameters, which are specific to the implementation.
       */
       typedef _CharT 					char_type;