diff options
Diffstat (limited to 'Build/source/texk/upmendex')
-rw-r--r-- | Build/source/texk/upmendex/styfile.c | 4 | ||||
-rw-r--r-- | Build/source/texk/upmendex/tests/attr1.ist | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/upmendex/styfile.c b/Build/source/texk/upmendex/styfile.c index 961b5f7b6cc..cecf29d7255 100644 --- a/Build/source/texk/upmendex/styfile.c +++ b/Build/source/texk/upmendex/styfile.c @@ -323,7 +323,7 @@ void set_icu_attributes(void) for (i=0;i<UCOL_ATTRIBUTE_COUNT;i++) icu_attributes[i]=UCOL_DEFAULT; tmp=icu_attr_str; - head=strtok(tmp, " \t"); + head=strtok(tmp, " \t\r\n"); while (head!=NULL) { pos=head; if (strncmp(pos,"alternate:",10)==0) { @@ -375,6 +375,6 @@ void set_icu_attributes(void) illegal: verb_printf(efp,"\nWarning: Illegal input for icu_attributes (%s).",head); } - head=strtok(NULL, " \t"); + head=strtok(NULL, " \t\r\n"); } } diff --git a/Build/source/texk/upmendex/tests/attr1.ist b/Build/source/texk/upmendex/tests/attr1.ist index c8d71833adb..301aff0a6a1 100644 --- a/Build/source/texk/upmendex/tests/attr1.ist +++ b/Build/source/texk/upmendex/tests/attr1.ist @@ -1 +1,2 @@ -icu_attributes "case-first:upper-first numeric-ordering:on " +icu_attributes "case-first:upper-first +numeric-ordering:on " |