about summary refs log tree commit diff
path: root/locale/programs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-09-30 22:19:34 +0000
committerUlrich Drepper <drepper@redhat.com>2007-09-30 22:19:34 +0000
commitdb007b0d54b03604c26779f87b31809df3c6d2d9 (patch)
tree84dbb1001528afe4eaabe6a2d2c3ec84e97eadea /locale/programs
parentbfe6bf17a38b407eb1210f6f7e6d2561c7da05aa (diff)
downloadglibc-db007b0d54b03604c26779f87b31809df3c6d2d9.tar.gz
glibc-db007b0d54b03604c26779f87b31809df3c6d2d9.tar.xz
glibc-db007b0d54b03604c26779f87b31809df3c6d2d9.zip
* locales/sa_IN: New file.
	* SUPPORTED (SUPPORTED-LOCALES): Add sa_IN.
Diffstat (limited to 'locale/programs')
-rw-r--r--locale/programs/ld-collate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index feab034740..0cd378f21b 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -1842,7 +1842,8 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
 
       while (osect != sect)
 	if (osect->rules != NULL
-	    && memcmp (osect->rules, sect->rules, nrules) == 0)
+	    && memcmp (osect->rules, sect->rules,
+		       nrules * sizeof (osect->rules[0])) == 0)
 	  break;
 	else
 	  osect = osect->next;