From: Paul Eggert Date: Thu, 28 Jul 2011 00:48:01 +0000 (-0700) Subject: Merge: Integer signedness and overflow and related fixes. X-Git-Tag: emacs-pretest-24.0.90~104^2~159^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=044c22e545acef592ed95e4e3bb9f8aeff67291a;p=emacs.git Merge: Integer signedness and overflow and related fixes. Fixes: debbugs:9079 --- 044c22e545acef592ed95e4e3bb9f8aeff67291a diff --cc lib-src/ChangeLog index 2a4c1024293,04d0828a8ab..c878d313b70 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@@ -1,3 -1,16 +1,16 @@@ -2011-07-11 Paul Eggert ++2011-07-28 Paul Eggert + + Assume freestanding C89 headers, string.h, stdlib.h. + * ebrowse.c: Include stdlib.h unconditionally. + * etags.c, update-game-score.c: + Include string.h and stdlib.h unconditionally. + * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS. + * movemail.c, pop.c: Include string.h unconditionally. + * update-game-score.c: No need to include stdarg.h; not used. + + Assume support for memcmp, memcpy, memmove, memset. + * etags.c (absolute_filename): Assume memmove exists. + 2011-07-09 Andreas Schwab * update-game-score.c (usage): Update usage line. diff --cc nt/ChangeLog index 087f006b88b,68a68d95309..edbd1a1c1d4 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@@ -1,3 -1,10 +1,10 @@@ -2011-07-07 Paul Eggert ++2011-07-28 Paul Eggert + + Assume freestanding C89 headers, string.h, stdlib.h. + * config.nt (HAVE_LIMITS_H, HAVE_STRING_H, HAVE_STDLIB_H) + (STDC_HEADERS): Remove. + Iinclude string.h, stdlib.h unconditionally. + 2011-06-07 Eli Zaretskii * inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX)