This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] spelling errors in comments
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>, Steve Ward <planet36 at gmail dot com>
- Date: Sun, 15 Nov 2009 12:38:57 +0000
- Subject: [patch] spelling errors in comments
As reported here:
http://gcc.gnu.org/ml/gcc-bugs/2009-11/msg01038.html
I'll go ahead with the libstdc++ change, can I get approval for the
libiberty bit?
libiberty changelog:
2009-11-15 Steve Ward <planet36@gmail.com>
* dyn-string.c (dyn_string_append_char): Fix typo in comment.
libstdc++ changelog:
2009-11-15 Steve Ward <planet36@gmail.com>
* libsupc++/cxxabi.h (__cxa_demangle): Fix typo in comment.
tested x86_64/linux
Index: libiberty/dyn-string.c
===================================================================
--- libiberty/dyn-string.c (revision 154188)
+++ libiberty/dyn-string.c (working copy)
@@ -336,7 +336,7 @@ dyn_string_append_cstr (dyn_string_t des
return 1;
}
-/* Appends C to the end of DEST. Returns 1 on success. On failiure,
+/* Appends C to the end of DEST. Returns 1 on success. On failure,
if RETURN_ON_ALLOCATION_FAILURE, deletes DEST and returns 0. */
int
Index: libstdc++-v3/libsupc++/cxxabi.h
===================================================================
--- libstdc++-v3/libsupc++/cxxabi.h (revision 154188)
+++ libstdc++-v3/libsupc++/cxxabi.h (working copy)
@@ -164,7 +164,7 @@ namespace __cxxabiv1
*
* @param __status @a *__status is set to one of the following values:
* 0: The demangling operation succeeded.
- * -1: A memory allocation failiure occurred.
+ * -1: A memory allocation failure occurred.
* -2: @a mangled_name is not a valid name under the C++ ABI mangling rules.
* -3: One of the arguments is invalid.
*