summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-09-25 00:25:50 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-09-25 00:25:50 +0000
commit5e52a1b8370b130dedbaa83d284f814cf039d8db (patch)
tree81cfff240bc0f7749941d2767bb9a46524cfeb62 /Build/source
parentacd02150dedbd7b571305a1a99f77773b7bcd4ab (diff)
write a binary string by octal numbers to avoid an error in old compilers.
git-svn-id: svn://tug.org/texlive/trunk@24081 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/makeindexk/ChangeLog5
-rw-r--r--Build/source/texk/makeindexk/genind.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog
index ced83f0984c..00d9a3864ad 100644
--- a/Build/source/texk/makeindexk/ChangeLog
+++ b/Build/source/texk/makeindexk/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * genind.c: write a binary string by octal numbers to avoid an
+ error in old compilers.
+
2011-09-24 Karl Berry <karl@tug.org>
* genind.c (make_entry): do not output erroneous \( when
diff --git a/Build/source/texk/makeindexk/genind.c b/Build/source/texk/makeindexk/genind.c
index b2a45e87549..61cbaa9480b 100644
--- a/Build/source/texk/makeindexk/genind.c
+++ b/Build/source/texk/makeindexk/genind.c
@@ -204,7 +204,7 @@ static unsigned char
first_letter(char *term)
{
if (thai_sort)
- return strchr("אבגדה", term[0]) ? term[1] : term[0];
+ return strchr("\340\341\342\343\344", term[0]) ? term[1] : term[0];
return TOLOWER(term[0]);
}