about summary refs log tree commit diff
path: root/locale
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 /locale
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 'locale')
-rw-r--r--locale/programs/ld-collate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index feb1a11258..cff0c11bec 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -2039,7 +2039,7 @@ add_to_tablewc (uint32_t ch, struct element_t *runp)
 		obstack_int32_grow_fast (atwc.extrapool, curp->wcs[i]);
 
 	      /* Now find the end of the consecutive sequence and
-		 add all the indeces in the indirect pool.  */
+		 add all the indices in the indirect pool.  */
 	      do
 		{
 		  weightidx = output_weightwc (atwc.weightpool, atwc.collate,
@@ -2255,7 +2255,7 @@ collate_output (struct localedef_t *locale, const struct charmap_t *charmap,
 		  obstack_1grow_fast (&extrapool, curp->mbs[i]);
 
 		/* Now find the end of the consecutive sequence and
-		   add all the indeces in the indirect pool.  */
+		   add all the indices in the indirect pool.  */
 		do
 		  {
 		    weightidx = output_weight (&weightpool, collate, curp);