summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek2011-04-16 17:33:43 +0200
committerDenys Vlasenko2011-04-16 17:33:43 +0200
commitb0b8884009f9844e75d10f9e5d4ac16ef6b36170 (patch)
treef34f7d1e2b756d17b969517ea3fe5a0dab8bf60a
parent88d3cfdb75b6da83f3552daceed803f0a29d0c9c (diff)
downloadbusybox-b0b8884009f9844e75d10f9e5d4ac16ef6b36170.zip
busybox-b0b8884009f9844e75d10f9e5d4ac16ef6b36170.tar.gz
Fix double words in comments. No code changes
Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/ar.c2
-rw-r--r--archival/gzip.c4
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c2
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.h2
-rw-r--r--e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c2
-rw-r--r--editors/ed.c2
-rw-r--r--libbb/appletlib.c2
-rw-r--r--scripts/basic/docproc.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/archival/ar.c b/archival/ar.c
index f5a379f..e7973af 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -82,7 +82,7 @@ static void output_ar_header(archive_handle_t *handle)
}
/*
- * when replacing files in an existing archive, copy from the the
+ * when replacing files in an existing archive, copy from the
* original archive those files that are to be left intact
*/
static void FAST_FUNC copy_data(archive_handle_t *handle)
diff --git a/archival/gzip.c b/archival/gzip.c
index 7686e1a..a9b216a 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -1674,7 +1674,7 @@ static ulg flush_block(char *buf, ulg stored_len, int eof)
/* ===========================================================================
* Update a hash value with the given input byte
- * IN assertion: all calls to to UPDATE_HASH are made with consecutive
+ * IN assertion: all calls to UPDATE_HASH are made with consecutive
* input characters, so that a running hash key can be computed from the
* previous key instead of complete recalculation each time.
*/
@@ -1705,7 +1705,7 @@ static ulg flush_block(char *buf, ulg stored_len, int eof)
/* Insert string s in the dictionary and set match_head to the previous head
* of the hash chain (the most recent string with same hash key). Return
* the previous length of the hash chain.
- * IN assertion: all calls to to INSERT_STRING are made with consecutive
+ * IN assertion: all calls to INSERT_STRING are made with consecutive
* input characters and the first MIN_MATCH bytes of s are valid
* (except for the last MIN_MATCH-1 bytes of the input file). */
#define INSERT_STRING(s, match_head) \
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index 1f990b3..ad4ff34 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -582,7 +582,7 @@ static dnode_t *dict_first(dict_t *dict)
/*
* Return the given node's successor node---the node which has the
- * next key in the the left to right ordering. If the node has
+ * next key in the left to right ordering. If the node has
* no successor, a null pointer is returned rather than a pointer to
* the nil node.
*/
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.h b/e2fsprogs/old_e2fsprogs/e2fsck.h
index 330209d..c159fab 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.h
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.h
@@ -258,7 +258,7 @@ The following defines are used in the 'flags' field of a dx_dirblock_info
#define PR_1_SET_IMAGIC 0x01002F /* Imagic flag set on an inode when filesystem doesn't support it */
#define PR_1_SET_IMMUTABLE 0x010030 /* Immutable flag set on a device or socket inode */
#define PR_1_COMPR_SET 0x010031 /* Compression flag set on a non-compressed filesystem */
-#define PR_1_SET_NONZSIZE 0x010032 /* Non-zero size on on device, fifo or socket inode */
+#define PR_1_SET_NONZSIZE 0x010032 /* Non-zero size on device, fifo or socket inode */
#define PR_1_FS_REV_LEVEL 0x010033 /* Filesystem revision is 0, but feature flags are set */
#define PR_1_JOURNAL_INODE_NOT_CLEAR 0x010034 /* Journal inode not in use, needs clearing */
#define PR_1_JOURNAL_BAD_MODE 0x010035 /* Journal inode has wrong mode */
diff --git a/e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c b/e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c
index a3bbad8..2bb1cc2 100644
--- a/e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c
+++ b/e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c
@@ -15,7 +15,7 @@
* string, placing the result in <name>. <dir> is the containing
* directory inode, and <ino> is the inode number itself. If
* <ino> is zero, then ext2fs_get_pathname will return pathname
- * of the the directory <dir>.
+ * of the directory <dir>.
*
*/
diff --git a/editors/ed.c b/editors/ed.c
index 41ac88c..dbb5130 100644
--- a/editors/ed.c
+++ b/editors/ed.c
@@ -454,7 +454,7 @@ static void subCommand(const char *cmd, int num1, int num2)
/*
* The new string is larger, so allocate a new line
- * structure and use that. Link it in in place of
+ * structure and use that. Link it in place of
* the old line structure.
*/
nlp = xmalloc(sizeof(LINE) + lp->len + deltaLen);
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index fc84d36..705829c 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -442,7 +442,7 @@ static void parse_config_file(void)
sct->m_mode |= mode_mask[(q - mode_chars) - i];
}
- /* Now get the the user/group info. */
+ /* Now get the user/group info. */
s = skip_whitespace(e);
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c
index db30019..0984e7d 100644
--- a/scripts/basic/docproc.c
+++ b/scripts/basic/docproc.c
@@ -212,7 +212,7 @@ void find_export_symbols(char * filename)
* Document all external or internal functions in a file.
* Call kernel-doc with following parameters:
* kernel-doc -docbook -nofunction function_name1 filename
- * function names are obtained from all the the src files
+ * function names are obtained from all the src files
* by find_export_symbols.
* intfunc uses -nofunction
* extfunc uses -function