about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
commit14ef9c185b79f55f8221a29accd8d3326367102a (patch)
tree6ce66c4fe96312eea50c0b0aa4107405e0268aca /iconv
parent720480934ab9107714f1ffc29222dfb5d3bc5b1d (diff)
downloadglibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.gz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.xz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.zip
treewide: fix incorrect spelling of indices in comments
Replace 'indeces' with 'indices', the most annoying of these typos were
those found in elf.h which is a public header file copied to other
projects.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconv/gconv_trans.c b/iconv/gconv_trans.c
index ea02c95e84..a6e468e248 100644
--- a/iconv/gconv_trans.c
+++ b/iconv/gconv_trans.c
@@ -79,8 +79,8 @@ __gconv_transliterate (struct __gconv_step *step,
     return (winbuf == winbufend
 	    ? __GCONV_EMPTY_INPUT : __GCONV_INCOMPLETE_INPUT);
 
-  /* The array starting at FROM_IDX contains indeces to the string table
-     in FROM_TBL.  The indeces are sorted wrt to the strings.  I.e., we
+  /* The array starting at FROM_IDX contains indices to the string table
+     in FROM_TBL.  The indices are sorted wrt to the strings.  I.e., we
      are doing binary search.  */
   low = 0;
   high = size;