From 5e52a1b8370b130dedbaa83d284f814cf039d8db Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sun, 25 Sep 2011 00:25:50 +0000 Subject: 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 --- Build/source/texk/makeindexk/ChangeLog | 5 +++++ Build/source/texk/makeindexk/genind.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/makeindexk') 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 + + * genind.c: write a binary string by octal numbers to avoid an + error in old compilers. + 2011-09-24 Karl Berry * 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]); } -- cgit v1.2.3