From b0b8884009f9844e75d10f9e5d4ac16ef6b36170 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Sat, 16 Apr 2011 17:33:43 +0200 Subject: Fix double words in comments. No code changes Signed-off-by: Marek Polacek Signed-off-by: Denys Vlasenko --- archival/ar.c | 2 +- archival/gzip.c | 4 ++-- e2fsprogs/old_e2fsprogs/e2fsck.c | 2 +- e2fsprogs/old_e2fsprogs/e2fsck.h | 2 +- e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c | 2 +- editors/ed.c | 2 +- libbb/appletlib.c | 2 +- scripts/basic/docproc.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archival/ar.c b/archival/ar.c index f5a379fb8..e7973af94 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 7686e1adb..a9b216afe 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 1f990b303..ad4ff348b 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 330209d69..c159fabab 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 a3bbad851..2bb1cc25e 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 . is the containing * directory inode, and is the inode number itself. If * is zero, then ext2fs_get_pathname will return pathname - * of the the directory . + * of the directory . * */ diff --git a/editors/ed.c b/editors/ed.c index 41ac88c32..dbb51306c 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 fc84d36ec..705829cb0 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 db30019d8..0984e7d4b 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 -- cgit v1.2.3