summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-04-09 23:23:01 +0200
committerJim Meyering <meyering@redhat.com>2011-04-11 14:32:55 +0200
commitb2dfc3b5e52bde06d3ef07bcc12e8dfb00f13634 (patch)
treebab0fa2971ea9fa540344f47430fa8a2200a36c1
parent80be785c95719bf7af5dd53c758730b10126c436 (diff)
downloadcoreutils-b2dfc3b5e52bde06d3ef07bcc12e8dfb00f13634.tar.xz
maint: remove doubled words in comments, e.g., s/to to/to/
* tests/ls/color-norm: s/to to/to/ * gl/lib/mbsalign.h (mbs_align_t): s/or or/or/ * src/extent-scan.c (extent_scan_read): s/the the/the/ * src/libstdbuf.c: s/the the/the/ * tests/misc/stdbuf: s/on on/on/ * ChangeLog-2005: s/for\n\tfor /for\n\t/
-rw-r--r--ChangeLog-20052
-rw-r--r--gl/lib/mbsalign.h2
-rw-r--r--src/extent-scan.c2
-rw-r--r--src/libstdbuf.c2
-rwxr-xr-xtests/ls/color-norm2
-rwxr-xr-xtests/misc/stdbuf2
6 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog-2005 b/ChangeLog-2005
index d4b8cc22d..87098044b 100644
--- a/ChangeLog-2005
+++ b/ChangeLog-2005
@@ -9086,7 +9086,7 @@
split's --verbose option did nothing [broken in 4.5.10 and 5.0]
* src/split.c (longopts): Use `1', not `0' as the value for
- for &verbose. Reported by Keith Thompson.
+ &verbose. Reported by Keith Thompson.
Test for the above fix.
* tests/misc/split-a: Also use --verbose and compare stderr
diff --git a/gl/lib/mbsalign.h b/gl/lib/mbsalign.h
index 76d5a3ffe..de5d767fa 100644
--- a/gl/lib/mbsalign.h
+++ b/gl/lib/mbsalign.h
@@ -19,7 +19,7 @@
typedef enum { MBS_ALIGN_LEFT, MBS_ALIGN_RIGHT, MBS_ALIGN_CENTER } mbs_align_t;
enum {
- /* Use unibyte mode for invalid multibyte strings or
+ /* Use unibyte mode for invalid multibyte strings
or when heap memory is exhausted. */
MBA_UNIBYTE_FALLBACK = 0x0001
diff --git a/src/extent-scan.c b/src/extent-scan.c
index 71a940499..e95b08500 100644
--- a/src/extent-scan.c
+++ b/src/extent-scan.c
@@ -104,7 +104,7 @@ extent_scan_read (struct extent_scan *scan)
fiemap->fm_extent_count = count;
fiemap->fm_length = FIEMAP_MAX_OFFSET - scan->scan_start;
- /* Fall back to the standard copy if call ioctl(2) failed for the
+ /* Fall back to the standard copy if call ioctl(2) failed for
the first time. */
if (ioctl (scan->fd, FS_IOC_FIEMAP, fiemap) < 0)
{
diff --git a/src/libstdbuf.c b/src/libstdbuf.c
index ce89ce065..9cb101eb4 100644
--- a/src/libstdbuf.c
+++ b/src/libstdbuf.c
@@ -22,7 +22,7 @@
#include "system.h"
#include "verify.h"
-/* Note currently for glibc (2.3.5) the following call does not change the
+/* Note currently for glibc (2.3.5) the following call does not change
the buffer size, and more problematically does not give any indication
that the new size request was ignored:
diff --git a/tests/ls/color-norm b/tests/ls/color-norm
index 6d8c14d56..20bc1217f 100755
--- a/tests/ls/color-norm
+++ b/tests/ls/color-norm
@@ -27,7 +27,7 @@ umask 22
# Output time as something constant
export TIME_STYLE="+norm"
-# helper to to strip ls columns up to "norm" time
+# helper to strip ls columns up to "norm" time
qls() { sed 's/-r.*norm/norm/'; }
touch exe || framework_failure
diff --git a/tests/misc/stdbuf b/tests/misc/stdbuf
index 8bb57218e..35b571050 100755
--- a/tests/misc/stdbuf
+++ b/tests/misc/stdbuf
@@ -104,7 +104,7 @@ retry_delay_ stdbuf_unbuffer .1 6 || fail=1
# Ensure block buffering stdout takes effect
# We don't currently test block buffering failures as
-# this doesn't work on on GLIBC-2.7 or GLIBC-2.9 at least.
+# this doesn't work on GLIBC-2.7 or GLIBC-2.9 at least.
# stdbuf_blockbuffer()
# {
# local delay="$1"