From 988c601ec79cf7732f9a82f26e84d7cfd8edcfec Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Nov 2007 00:18:32 +0000 Subject: STRING_MAX for style file names git-svn-id: svn://tug.org/texlive/trunk@5517 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/makeindexk/ChangeLog | 7 +++++++ Build/source/texk/makeindexk/mkind.c | 2 +- Build/source/texk/makeindexk/mkind.h | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/makeindexk') diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog index a66f4cf6bc0..0da0aff3a15 100644 --- a/Build/source/texk/makeindexk/ChangeLog +++ b/Build/source/texk/makeindexk/ChangeLog @@ -1,3 +1,10 @@ +2007-11-20 Karl Berry + + * mkind.c (sty_fn): use STRING_MAX, not LINE_MAX. + From Peter Ansell, 19 Nov 2007 10:11:40. + + * mkind.h (STRING_MAX): bump again to 999. + 2007-10-12 Karl Berry * mkind.h (STRING_MAX): bump to 512, why not? diff --git a/Build/source/texk/makeindexk/mkind.c b/Build/source/texk/makeindexk/mkind.c index 0be830bbb2d..7bcc3231e76 100644 --- a/Build/source/texk/makeindexk/mkind.c +++ b/Build/source/texk/makeindexk/mkind.c @@ -53,7 +53,7 @@ FILE *ind_fp; FILE *ilg_fp; char *pgm_fn; -char sty_fn[LINE_MAX]; +char sty_fn[STRING_MAX]; char *idx_fn; char ind[STRING_MAX]; char *ind_fn; diff --git a/Build/source/texk/makeindexk/mkind.h b/Build/source/texk/makeindexk/mkind.h index 7555fb60ede..f54ab16ac25 100644 --- a/Build/source/texk/makeindexk/mkind.h +++ b/Build/source/texk/makeindexk/mkind.h @@ -337,14 +337,14 @@ ensuing. #define ROMAN_MAX 16 /* maximum length of Roman page number */ /* field */ -#define STRING_MAX 512 /* maximum length of host filename */ +#define STRING_MAX 999 /* maximum length of host filename */ /*====================================================================*/ #if USE_KPATHSEA -#define VERSION "version 2.15 [12-Oct-2007] (kpathsea + Thai support)" +#define VERSION "version 2.15 [20-Nov-2007] (kpathsea + Thai support)" #else -#define VERSION "version 2.15 [12-Oct-2007] (with Thai support)" +#define VERSION "version 2.15 [20-Nov-2007] (with Thai support)" #endif #define PUT_VERSION { \ -- cgit v1.2.3