diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-02 12:29:48 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-02 12:29:48 +0000 |
commit | 808caf0e3038020441cdb1d964efd26ebc6ba474 (patch) | |
tree | f72207f17bd49ccc4d9e78e974f8a95762c4a68e /Build/source/texk/mendexk/ChangeLog.TL | |
parent | 55899550ec16f1a2fccf4420316345016882f7cd (diff) |
texk/mendex: Change most 'unsigned char' into plain 'char'
to avoid lots of 'differ in signedness' warnings from gcc-4.4
git-svn-id: svn://tug.org/texlive/trunk@22277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/ChangeLog.TL')
-rw-r--r-- | Build/source/texk/mendexk/ChangeLog.TL | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog.TL b/Build/source/texk/mendexk/ChangeLog.TL index 104cb0757c8..b2a58d6d428 100644 --- a/Build/source/texk/mendexk/ChangeLog.TL +++ b/Build/source/texk/mendexk/ChangeLog.TL @@ -1,6 +1,34 @@ ChangeLog.TL: TeX Live (TL) changes for mendexk =============================================== +2011-04-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + * Makefile.am (EXTRA_DIST): No need to mention ChangeLog, README. + * configure.ac: Drop useless check for <strings.h>. + + * convert.c, fread.c, main.c, sort.c: Do not typecast the + result of malloc(). + +2011-04-22 Peter Breitenlohner <peb@mppmu.mpg.de> + + 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 <peb@mppmu.mpg.de> * convert.c (dicread, dicvalread), fread.c (idxread), |