* charset.c (Fdefine_charset_internal): Check for integer overflow.
[bpt/emacs.git] / ChangeLog
index f9cadda..b930173 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2011-07-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Assume freestanding C89 headers, string.h, stdlib.h.
+       Again, this simplifies the code, and all current platforms have these.
+       * configure.in (AC_CHECK_HEADERS): Don't check for limits.h.
+       (AC_HEADER_STDC): Remove.
+       (AC_CHECK_FUNCS): No need to check for strchr, strrchr.
+       (strchr, strrchr): Remove fallback macros.
+
+       Assume support for memcmp, memcpy, memmove, memset.
+       This simplifies the code a bit.  All current platforms have these,
+       as they are required for C89.  If this turns into a problem we
+       can add the gnulib modules for these (a 1-line change to Makefile.in).
+       * configure.in: Don't check for memcmp, memcpy, memmove, memset.
+
 2011-07-13  Jan Djärv  <jan.h.d@swipnet.se>
 
        * configure.in (GSETTINGS): Check for gio-2.0 >= 2.26.