This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: typos in libgomp, libiberty manual
* DJ Delorie wrote on Tue, Jan 30, 2007 at 08:42:19PM CET:
>
> functions.texi is a generated file.
Oops.
> Please patch the original source files also. Your patch is OK with
> that change.
Thanks. I need someone to apply it for me though.
Cheers,
Ralf
:ADDPATCH libiberty, documentation:
libiberty/ChangeLog:
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* hex.c: Fix typo.
* choose-temp.c: Likewise.
* functions.texi: Regenerate.
Index: libiberty/hex.c
===================================================================
--- libiberty/hex.c (revision 121434)
+++ libiberty/hex.c (working copy)
@@ -50,7 +50,7 @@
@deftypefn Extension {unsigned int} hex_value (int @var{c})
Returns the numeric equivalent of the given character when interpreted
-as a hexidecimal digit. The result is undefined if you pass an
+as a hexadecimal digit. The result is undefined if you pass an
invalid hex digit. Note that the value you pass will be cast to
@code{unsigned char} within the macro.
Index: libiberty/functions.texi
===================================================================
--- libiberty/functions.texi (revision 121434)
+++ libiberty/functions.texi (working copy)
@@ -153,7 +153,7 @@
program is exited if a temporary directory can't be found (@code{mktemp}
fails). The buffer for the result is obtained with @code{xmalloc}.
-This function is provided for backwards compatability only. Its use is
+This function is provided for backwards compatibility only. Its use is
not recommended.
@end deftypefn
@@ -420,7 +420,7 @@
@deftypefn Extension {unsigned int} hex_value (int @var{c})
Returns the numeric equivalent of the given character when interpreted
-as a hexidecimal digit. The result is undefined if you pass an
+as a hexadecimal digit. The result is undefined if you pass an
invalid hex digit. Note that the value you pass will be cast to
@code{unsigned char} within the macro.
Index: libiberty/choose-temp.c
===================================================================
--- libiberty/choose-temp.c (revision 121434)
+++ libiberty/choose-temp.c (working copy)
@@ -46,7 +46,7 @@
program is exited if a temporary directory can't be found (@code{mktemp}
fails). The buffer for the result is obtained with @code{xmalloc}.
-This function is provided for backwards compatability only. Its use is
+This function is provided for backwards compatibility only. Its use is
not recommended.
@end deftypefn