From: Dhruv Chawla <[email protected]>

Signed-off-by: Dhruv Chawla <[email protected]>

fixincludes/ChangeLog:

        * README: Fix typos.
        * fixinc.in: Likewise.
        * fixincl.c (quoted_file_exists): Likewise.
        * fixlib.c (fix_path_separators): Likewise.
        * inclhack.def: Likewise.
---
 fixincludes/README       | 2 +-
 fixincludes/fixinc.in    | 2 +-
 fixincludes/fixincl.c    | 2 +-
 fixincludes/fixlib.c     | 2 +-
 fixincludes/inclhack.def | 6 +++---
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fixincludes/README b/fixincludes/README
index 05be62cfc71..e90523271a7 100644
--- a/fixincludes/README
+++ b/fixincludes/README
@@ -225,7 +225,7 @@ MAKING CHANGES TO INCLHACK.DEF
        be inserted.
 
     v) format - Replaces text selected with a regular expression with
-        a specialized formating string.  The formatting works as follows:
+        a specialized formatting string.  The formatting works as follows:
         The format text is copied to the output until a '%' character
         is found.  If the character after the '%' is another '%', then
         one '%' is output and processing continues.  If the following
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in
index 0bd8027a554..e615e0af465 100755
--- a/fixincludes/fixinc.in
+++ b/fixincludes/fixinc.in
@@ -146,7 +146,7 @@ esac
 #
 #  In the file macro_list are listed all the predefined
 #  macros that are not in the C89 reserved namespace (the reserved
-#  namespace is all identifiers beginnning with two underscores or one
+#  namespace is all identifiers beginning with two underscores or one
 #  underscore followed by a capital letter).  A regular expression to find
 #  any of those macros in a header file is written to MN_NAME_PAT.
 #
diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c
index 92909baf85f..4260024519f 100644
--- a/fixincludes/fixincl.c
+++ b/fixincludes/fixincl.c
@@ -730,7 +730,7 @@ quoted_file_exists (const char* pz_src_path,
    emits a triple of:
 
     1.  source directory of the original file
-    2.  the relative path file name of the #includ-ed file
+    2.  the relative path file name of the #include-d file
     3.  the full destination path for this file
 
    Input:  the text of the file, the file name and a pointer to the
diff --git a/fixincludes/fixlib.c b/fixincludes/fixlib.c
index 4cdefe0bef4..e707aa6e3db 100644
--- a/fixincludes/fixlib.c
+++ b/fixincludes/fixlib.c
@@ -294,7 +294,7 @@ fix_path_separators (char* p)
       }
 }
 
-/* Count number of needle character ocurrences in str */
+/* Count number of needle character occurrences in str */
 static int
 count_occurrences_of_char (char* str, char needle)
 {
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 91f29a2ca7c..20a7e8ef977 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -720,7 +720,7 @@ fix = {
 };
 
 /*
- *  pthread.h on AIX 4.3.3 tries to define a macro without whitspace
+ *  pthread.h on AIX 4.3.3 tries to define a macro without whitespace
  *  which violates a requirement of ISO C.
  */
 fix = {
@@ -2644,7 +2644,7 @@ fix = {
 
 /*
  *  The definitions for PTHREAD_MUTEX_INITIALIZER and similar initializers
- *  in pthread.h need to be constant expressions to be standard complient.
+ *  in pthread.h need to be constant expressions to be standard compliant.
  *  As a result, we need to remove the void * casts in the initializers
  *  (see hpux11_pthread_const) and to change the __(M|C|RW)POINTER defines
  *  to use the long type.
@@ -4009,7 +4009,7 @@ fix = {
     files    = stdio.h;
     bypass   = "include.*(stdarg\.h|machine/ansi\.h|_stdio\.h)";
     /*
-     * On Solaris 10+, this fix is unncessary; <stdio.h> includes
+     * On Solaris 10+, this fix is unnecessary; <stdio.h> includes
      * <iso/stdio_iso.h>, which includes <sys/va_list.h>.
       */
     mach     = '*-*-solaris2*';
-- 
2.43.0

Reply via email to