summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-11-20 00:18:32 +0000
committerKarl Berry <karl@freefriends.org>2007-11-20 00:18:32 +0000
commit988c601ec79cf7732f9a82f26e84d7cfd8edcfec (patch)
tree460919422daaba32f6720cc06d7d402c9a7cb8cc
parent92bfa1af5b97ddd5caa2d5f57f0c4fea497e8c0c (diff)
STRING_MAX for style file names
git-svn-id: svn://tug.org/texlive/trunk@5517 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/makeindexk/ChangeLog7
-rw-r--r--Build/source/texk/makeindexk/mkind.c2
-rw-r--r--Build/source/texk/makeindexk/mkind.h6
3 files changed, 11 insertions, 4 deletions
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 <karl@tug.org>
+
+ * 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 <karl@tug.org>
* 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 { \