coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: fix common spelling errors in comments


From: Pádraig Brady
Subject: [PATCH] maint: fix common spelling errors in comments
Date: Wed, 18 Apr 2012 00:46:44 +0100

From: Kevin Lyda <address@hidden>

These were identified using: https://github.com/lyda/misspell-check

* src/cat.c: Correct a single spelling error.
* src/comm.c: Likewise.
* src/expr.c Likewise.
* src/pr.c Likewise.
* src/tac.c Likewise.
* src/test.c Likewise.
---
 src/cat.c  |    4 ++--
 src/comm.c |    2 +-
 src/expr.c |    2 +-
 src/pr.c   |    2 +-
 src/tac.c  |    2 +-
 src/test.c |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/cat.c b/src/cat.c
index 41a1b41..9e901e0 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -751,8 +751,8 @@ main (int argc, char **argv)
              A line number requires seldom more than LINE_COUNTER_BUF_LEN
              positions.
 
-             Align the output buffer to a page size boundary, for efficency on
-             some paging implementations, so add PAGE_SIZE - 1 bytes to the
+             Align the output buffer to a page size boundary, for efficiency
+             on some paging implementations, so add PAGE_SIZE - 1 bytes to the
              request to make room for the alignment.  */
 
           outbuf = xmalloc (outsize - 1 + insize * 4 + LINE_COUNTER_BUF_LEN
diff --git a/src/comm.c b/src/comm.c
index 04422d6..748147a 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -193,7 +193,7 @@ writeline (struct linebuffer const *line, FILE *stream, int 
class)
 
    A message is printed at most once per input file.
 
-   This funtion was copied (nearly) verbatim from 'src/join.c'. */
+   This function was copied (nearly) verbatim from 'src/join.c'. */
 
 static void
 check_order (struct linebuffer const *prev,
diff --git a/src/expr.c b/src/expr.c
index 5368010..700e4af 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -18,7 +18,7 @@
    Modified for arbitrary-precision calculation by James Youngman.
 
    This program evaluates expressions.  Each token (operator, operand,
-   parenthesis) of the expression must be a seperate argument.  The
+   parenthesis) of the expression must be a separate argument.  The
    parser used is a reasonably general one, though any incarnation of
    it is language-specific.  It is especially nice for expressions.
 
diff --git a/src/pr.c b/src/pr.c
index f1e310f..9c21e11 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1413,7 +1413,7 @@ init_funcs (void)
   else
     {
       /* When numbering lines of parallel files, we enlarge the
-         first column to accomodate the number.  Looks better than
+         first column to accommodate the number.  Looks better than
          the Sys V approach. */
       if (parallel_files && numbered_lines)
         h_next = h + chars_per_column + number_width;
diff --git a/src/tac.c b/src/tac.c
index b50382d..94451be 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -339,7 +339,7 @@ tac_seekable (int input_fd, const char *file)
              The source and destination regions probably overlap.  */
           memmove (G_buffer + read_size, G_buffer, saved_record_size);
           past_end = G_buffer + read_size + saved_record_size;
-          /* For non-regexp searches, avoid unneccessary scanning. */
+          /* For non-regexp searches, avoid unnecessary scanning. */
           if (sentinel_length)
             match_start = G_buffer + read_size;
           else
diff --git a/src/test.c b/src/test.c
index 2d562d9..7c7489e 100644
--- a/src/test.c
+++ b/src/test.c
@@ -94,7 +94,7 @@ test_syntax_error (char const *format, char const *arg)
 }
 
 /* Increment our position in the argument list.  Check that we're not
-   past the end of the argument list.  This check is supressed if the
+   past the end of the argument list.  This check is suppressed if the
    argument is false.  */
 
 static void
-- 
1.7.6.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]