FYI: 1500+ typos, with suggested fixes

Joseph S. Myers joseph@codesourcery.com
Tue May 29 15:59:00 GMT 2012


On Tue, 29 May 2012, Jim Meyering wrote:

> sed -i '8s!compability!compatibility!' config/mt-sde
> sed -i '21s!enviroments!environments!' config/stdint.m4
> sed -i '293s!arbitary!arbitrary!' config/tcl.m4
> sed -i '376s!arbitary!arbitrary!' config/tcl.m4
> sed -i '818s!apropriate!appropriate!' config/tcl.m4

I've applied this patch to config/ and resynced config/ in the src 
repository from the GCC copy (there didn't appear to be any src-local 
changes not applied to GCC).

Index: mt-sde
===================================================================
--- mt-sde	(revision 187967)
+++ mt-sde	(working copy)
@@ -5,6 +5,6 @@
 # as they have the D-to-I redirect for PC-relative loads.  -mno-gpopt
 # has two purposes: it allows libraries to be used in situations where
 # $gp != our _gp, and it allows them to be built with -G8 while
-# retaining link compability with -G0 and -G4.
+# retaining link compatibility with -G0 and -G4.
 CFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt
 CXXFLAGS_FOR_TARGET += -Os -minterlink-mips16 -mcode-xonly -mno-gpopt
Index: stdint.m4
===================================================================
--- stdint.m4	(revision 187967)
+++ stdint.m4	(working copy)
@@ -18,7 +18,7 @@
 dnl existence of an include file <stdint.h> that defines a set of
 dnl typedefs, especially uint8_t,int32_t,uintptr_t.
 dnl Many older installations will not provide this file, but some will
-dnl have the very same definitions in <inttypes.h>. In other enviroments
+dnl have the very same definitions in <inttypes.h>. In other environments
 dnl we can use the inet-types in <sys/types.h> which would define the
 dnl typedefs int8_t and u_int8_t respectivly.
 dnl
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 187967)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2012-05-29  Joseph Myers  <joseph@codesourcery.com>
+
+	* mt-sde: Fix typos.
+	* stdint.m4: Fix typos.
+	* tcl.m4: Fix typos.
+
 2012-04-03  Tristan Gingold  <gingold@adacore.com>
 
 	* mmap.m4: Use *vms* instead of vms*.
Index: tcl.m4
===================================================================
--- tcl.m4	(revision 187967)
+++ tcl.m4	(working copy)
@@ -290,7 +290,7 @@
     elif test "`uname -s`" = "Darwin"; then
 	# If Tcl was built as a framework, attempt to use the libraries
 	# from the framework at the given location so that linking works
-	# against Tcl.framework installed in an arbitary location.
+	# against Tcl.framework installed in an arbitrary location.
 	case ${TCL_DEFS} in
 	    *TCL_FRAMEWORK*)
 		if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
@@ -373,7 +373,7 @@
     elif test "`uname -s`" = "Darwin"; then
 	# If Tk was built as a framework, attempt to use the libraries
 	# from the framework at the given location so that linking works
-	# against Tk.framework installed in an arbitary location.
+	# against Tk.framework installed in an arbitrary location.
 	case ${TK_DEFS} in
 	    *TK_FRAMEWORK*)
 		if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then
@@ -815,7 +815,7 @@
 #
 #	Defines the following variable:
 #
-#	MAN_FLAGS -	The apropriate flags for installManPage
+#	MAN_FLAGS -	The appropriate flags for installManPage
 #			according to the user's selection.
 #
 #--------------------------------------------------------------------

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list