ChangeLog.TL: TeX Live (TL) changes for mendexk =============================================== 2011-04-23 Peter Breitenlohner * Makefile.am (EXTRA_DIST): No need to mention ChangeLog, README. * configure.ac: Drop useless check for . * convert.c, fread.c, main.c, sort.c: Do not typecast the result of malloc(). 2011-04-22 Peter Breitenlohner Avoid 'differ in signedness' warnings. The string functions strlen(), strcmp(), strncmp(), strcpy(), and strncpy() all expect 'char *' arguments and gcc-4.x will create warnings for 'signed char *' and 'unsigned char *' args. Moreover strcmp() and strncmp() will always compare string bytes interpreted as 'unsigned char'. Finally initializing plain char array elements with, e.g., '0x80' always does the right thing. * convert.c, exkana.h, exvar.h, fread.c, fwrite.c, kana.h, ktable.h, mendex.h, sort.c, var.h: Change type of all global and local vars, function params, and struct members from 'unsigned char' or 'unsigned char *' to plain 'char' or 'char *', but always cast string bytes to 'unsigned char' when tested for '<', '<=', '>', or '>='. * convert.c, fread.c, main.c, sort.c: Do not typecast the result of malloc(). 2010-04-17 Peter Breitenlohner * convert.c (dicread, dicvalread), fread.c (idxread), pageread.c (lastpage), styfile.c (styread): Use kpse_in_name_ok. * fwrite.c (indwrite), main.c (main): Use kpse_out_name_ok. From Akira Kakuto , 17 Apr 2010 23:30:15. Added #include for prototypes. * convert.c (kp_dict): Move extern declaration from here ... * styfile.c (kp_ist): ... and here ... * kp.h (kp_ist, kp_dict): ... to here. 2010-04-16 Peter Breitenlohner * exvar.h, var.h (atama, page_compositor, page_precedence): Change types from 'char' back to 'unsigned char' as they originally were in exvar.h. From Sadayuki Tanaka , 16 Apr 2010 16:30:22. 2010-04-15 Peter Breitenlohner * pageread.c: #include "mendex.h" for prototype. * kana.h: #include "exkana.h" for type checking. * var.h: #include "exvar.h" for type checking. * sort.c (wcomp): Initialize local variable prechar. * kp.c (KP_init): Use kpse_set_program_name() because kpse_set_progname() is deprecated since ages and no longer exported from kpathsea. FIXME: Is this correct? * exvar.h (atama, page_compositor, page_precedence): Change type from 'unsigned char' to 'char' as defined in var.h. * convert.c (dicread): Add 'return 0' at end. Avoid compiler warnings. * ANSI C function prototypes and definitions. * Declare functions as static, skip compilation of unused ones. * Declare various function param or result, struct member, and local or global var strings as const. 2010-04-12 Peter Breitenlohner * Makefile.am (EXTRA_DIST): Add indexsty, mendex.doc. Add rule to rebuild kpathsea.