diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44d89b40055..c48ff6567aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,19 @@ +2013-11-15 Ondřej Bílka + Jonathan Wakely + + * doc/xml/manual/build_hacking.xml: Fix documentation typos. + * doc/xml/manual/configure.xml: Likewise. + * include/bits/atomic_base.h: Fix typos in comments. + * include/bits/random.h: Likewise. + * include/ext/cast.h: Likewise. + * libsupc++/cxxabi.h: Likewise. + * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise. + * testsuite/tr1/5_numerical_facilities/special_functions/testcase.h: + Likewise. + * testsuite/util/exception/safety.h: Likewise. + * testsuite/util/testsuite_containers.h: Likewise. + * testsuite/util/testsuite_hooks.cc: Likewise. + 2013-11-15 Jonathan Wakely * include/bits/stl_map.h (map): Implement C++11 allocator-aware diff --git a/libstdc++-v3/doc/xml/manual/build_hacking.xml b/libstdc++-v3/doc/xml/manual/build_hacking.xml index 917b4d258ff..912658bb2ce 100644 --- a/libstdc++-v3/doc/xml/manual/build_hacking.xml +++ b/libstdc++-v3/doc/xml/manual/build_hacking.xml @@ -142,13 +142,13 @@ in the build directory starts the build process. The all targ Most comments should use {octothorpes, shibboleths, hash marks, pound signs, whatever} rather than "dnl". Nearly all comments in - configure.ac should. Comments inside macros written in ancilliary + configure.ac should. Comments inside macros written in ancillary .m4 files should. About the only comments which should not use #, but use dnl instead, are comments - outside our own macros in the ancilliary + outside our own macros in the ancillary files. The difference is that # comments show up in configure (which is most helpful for debugging), - while dnl'd lines just vanish. Since the macros in ancilliary + while dnl'd lines just vanish. Since the macros in ancillary files generate code which appears in odd places, their "outside" comments tend to not be useful while reading configure. @@ -419,7 +419,7 @@ in the build directory starts the build process. The all targ Generates two convenience libraries, one for C++98 and one for - C++11, various compability files for shared and static + C++11, various compatibility files for shared and static libraries, and then collects all the generated bits and creates the final libstdc++ libraries. diff --git a/libstdc++-v3/doc/xml/manual/configure.xml b/libstdc++-v3/doc/xml/manual/configure.xml index cf0989720fa..3246d85193e 100644 --- a/libstdc++-v3/doc/xml/manual/configure.xml +++ b/libstdc++-v3/doc/xml/manual/configure.xml @@ -376,7 +376,7 @@ to standard error for certain events such as calling a pure virtual function or the invocation of the standard terminate handler. Those messages cause the library to depend on the demangler and standard I/O - facilites, which might be undesirable in a low-memory environment or + facilities, which might be undesirable in a low-memory environment or when standard error is not available. This option disables those messages. This option does not change the library ABI. diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h index d9d755abba9..54bf2133d0d 100644 --- a/libstdc++-v3/include/bits/atomic_base.h +++ b/libstdc++-v3/include/bits/atomic_base.h @@ -255,7 +255,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * * Base type is POD with data, allowing atomic_flag to derive from * it and meet the standard layout type requirement. In addition to - * compatibilty with a C interface, this allows different + * compatibility with a C interface, this allows different * implementations of atomic_flag to use the same atomic operation * functions, via a standard conversion to the __atomic_flag_base * argument. diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h index dde2dd45f9e..5613bdf5ec0 100644 --- a/libstdc++-v3/include/bits/random.h +++ b/libstdc++-v3/include/bits/random.h @@ -5685,11 +5685,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return __d1._M_param == __d2._M_param; } /** - * @brief Inserts a %piecewise_constan_distribution random + * @brief Inserts a %piecewise_constant_distribution random * number distribution @p __x into the output stream @p __os. * * @param __os An output stream. - * @param __x A %piecewise_constan_distribution random number + * @param __x A %piecewise_constant_distribution random number * distribution. * * @returns The output stream with the state of @p __x inserted or in @@ -5701,11 +5701,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION const std::piecewise_constant_distribution<_RealType1>& __x); /** - * @brief Extracts a %piecewise_constan_distribution random + * @brief Extracts a %piecewise_constant_distribution random * number distribution @p __x from the input stream @p __is. * * @param __is An input stream. - * @param __x A %piecewise_constan_distribution random number + * @param __x A %piecewise_constant_distribution random number * generator engine. * * @returns The input stream with @p __x extracted or in an error diff --git a/libstdc++-v3/include/ext/cast.h b/libstdc++-v3/include/ext/cast.h index 961a962558c..fb220f39f70 100644 --- a/libstdc++-v3/include/ext/cast.h +++ b/libstdc++-v3/include/ext/cast.h @@ -38,7 +38,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION * These functions are here to allow containers to support non standard * pointer types. For normal pointers, these resolve to the use of the * standard cast operation. For other types the functions will perform - * the apprpriate cast to/from the custom pointer class so long as that + * the appropriate cast to/from the custom pointer class so long as that * class meets the following conditions: * 1) has a typedef element_type which names tehe type it points to. * 2) has a get() const method which returns element_type*. diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h index cf2c0602e5f..3e29fed57d2 100644 --- a/libstdc++-v3/libsupc++/cxxabi.h +++ b/libstdc++-v3/libsupc++/cxxabi.h @@ -144,7 +144,7 @@ namespace __cxxabiv1 void __cxa_deleted_virtual(void) __attribute__ ((__noreturn__)); - // Exception handling auxillary. + // Exception handling auxiliary. void __cxa_bad_cast() __attribute__((__noreturn__)); diff --git a/libstdc++-v3/testsuite/ext/pb_ds/example/hash_illegal_resize.cc b/libstdc++-v3/testsuite/ext/pb_ds/example/hash_illegal_resize.cc index 94ca7d91334..c2423bd74ca 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/example/hash_illegal_resize.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/example/hash_illegal_resize.cc @@ -38,7 +38,7 @@ /** * This example shows the case where a hash-based container object is - * resized to a value which it cannot accomodate at runtime. Illegal + * resized to a value which it cannot accommodate at runtime. Illegal * runtime resizes cause an exception. */ diff --git a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/testcase.h b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/testcase.h index 6e390d23414..44e1a46bdbd 100644 --- a/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/testcase.h +++ b/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/testcase.h @@ -21,7 +21,7 @@ // // These are little PODs for special function inputs and -// expexted results for the testsuite. +// expected results for the testsuite. // // 5.2.1.1 Associated Laguerre polynomials. diff --git a/libstdc++-v3/testsuite/util/exception/safety.h b/libstdc++-v3/testsuite/util/exception/safety.h index ca311797bad..eaefc9394cb 100644 --- a/libstdc++-v3/testsuite/util/exception/safety.h +++ b/libstdc++-v3/testsuite/util/exception/safety.h @@ -1198,7 +1198,7 @@ namespace __gnu_test try { // An exception while assigning might leave the container empty - // making future attemps less relevant. So we copy it before to + // making future attempts less relevant. So we copy it before to // always assign to a non empty container. It also check for copy // constructor exception safety at the same time. _Tp __clone(__container); diff --git a/libstdc++-v3/testsuite/util/testsuite_containers.h b/libstdc++-v3/testsuite/util/testsuite_containers.h index 7e41d05ef43..e8f7e2d2d7e 100644 --- a/libstdc++-v3/testsuite/util/testsuite_containers.h +++ b/libstdc++-v3/testsuite/util/testsuite_containers.h @@ -255,7 +255,7 @@ template void linkage_check_cxx98_cxx11_erase(_Tp& container) { - // Crashing when exteral reference and internal reference symbols are + // Crashing when external reference and internal reference symbols are // equivalently mangled but have different size return types in C++98 // and C++11 signatures. erase_external(container); // C++98 @@ -266,7 +266,7 @@ template void linkage_check_cxx98_cxx11_erase_iterators(_Tp& container) { - // Crashing when exteral reference and internal reference symbols are + // Crashing when external reference and internal reference symbols are // equivalently mangled but have different size return types in C++98 // and C++11 signatures. erase_external_iterators(container);// C++98 diff --git a/libstdc++-v3/testsuite/util/testsuite_hooks.cc b/libstdc++-v3/testsuite/util/testsuite_hooks.cc index 7f6a21e5203..20fedbc3fc9 100644 --- a/libstdc++-v3/testsuite/util/testsuite_hooks.cc +++ b/libstdc++-v3/testsuite/util/testsuite_hooks.cc @@ -237,7 +237,7 @@ namespace __gnu_test semaphore::semaphore() { #ifdef _GLIBCXX_SYSV_SEM - // Remeber the PID for the process that created the semaphore set + // Remember the PID for the process that created the semaphore set // so that only one process will destroy the set. pid_ = getpid();