diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/makeindexk/ChangeLog | 11 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/genind.c | 3 | ||||
-rw-r--r-- | Build/source/texk/makeindexk/mkind.h | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/makeindexk/ChangeLog b/Build/source/texk/makeindexk/ChangeLog index 77314478b2b..377baa8d108 100644 --- a/Build/source/texk/makeindexk/ChangeLog +++ b/Build/source/texk/makeindexk/ChangeLog @@ -1,8 +1,17 @@ +2009-06-18 Karl Berry <karl@tug.org> + + * mkind.h (VERSION) [USE_KPATHSEA]: use TeX Live 2009 in version + ident. + + * genind.c (new_entry): initialize let to -1. It will be + reassigned if it is actually used, as far as I can make out the + overcomplex condition. + 2009-06-12 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am (AM_CFLAGS): enable compiler warnings. - * genind.c (gen_ind): FIXME: `let' may be used uninitialized , + * genind.c (new_entry): FIXME: `let' may be used uninitialized , probably a bug. Avoid compiler warnings. diff --git a/Build/source/texk/makeindexk/genind.c b/Build/source/texk/makeindexk/genind.c index 8c9aef2b434..44e364871a0 100644 --- a/Build/source/texk/makeindexk/genind.c +++ b/Build/source/texk/makeindexk/genind.c @@ -221,7 +221,7 @@ char *term; static void new_entry(VOID_ARG) { - int let; + int let = -1; FIELD_PTR ptr; #ifdef HAVE_SETLOCALE char *prev_locale; @@ -251,7 +251,6 @@ new_entry(VOID_ARG) PUT(group_skip); ind_lc += skiplen; /* beginning of a new letter? */ - /* FIXME: let may be uninitialized. Probably a BUG. */ put_header(let); make_item(NIL); } else diff --git a/Build/source/texk/makeindexk/mkind.h b/Build/source/texk/makeindexk/mkind.h index bff29ff099c..f4c3e2e0f72 100644 --- a/Build/source/texk/makeindexk/mkind.h +++ b/Build/source/texk/makeindexk/mkind.h @@ -358,7 +358,7 @@ ensuing. /*====================================================================*/ #if USE_KPATHSEA -#define VERSION "version 2.15 [20-Nov-2007] (kpathsea + Thai support)" +#define VERSION "version 2.15 [TeX Live 2009] (kpathsea + Thai support)" #else #define VERSION "version 2.15 [20-Nov-2007] (with Thai support)" #endif |