aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-06-16 15:50:46 -0700
committerPaul Eggert2011-06-16 15:50:46 -0700
commitdd3482fe595a93359c0c65bb7d48100a5d9a90d9 (patch)
tree4e282bc2ad7905e0fd6bbd882f915d92cd840b90 /src
parent393d71f34cd42b77afe78fbd174f2b1377182232 (diff)
downloademacs-dd3482fe595a93359c0c65bb7d48100a5d9a90d9.tar.gz
emacs-dd3482fe595a93359c0c65bb7d48100a5d9a90d9.zip
* lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
Without this, prin1 mishandles Lisp_Misc_Save_Value printing on hosts with pre-C99 libraries, because pD is wrongly defined to "t".
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/lisp.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ae1a00cf173..e8aa1c67d3c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12011-06-16 Paul Eggert <eggert@cs.ucla.edu> 12011-06-16 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
4 Without this, prin1 mishandles Lisp_Misc_Save_Value printing on
5 hosts with pre-C99 libraries, because pD is wrongly defined to "t".
6
3 Improve buffer-overflow checking (Bug#8873). 7 Improve buffer-overflow checking (Bug#8873).
4 * fileio.c (Finsert_file_contents): 8 * fileio.c (Finsert_file_contents):
5 * insdel.c (insert_from_buffer_1, replace_range, replace_range_2): 9 * insdel.c (insert_from_buffer_1, replace_range, replace_range_2):
diff --git a/src/lisp.h b/src/lisp.h
index 75827deda1a..1e3036344f5 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -23,6 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#include <stdarg.h> 23#include <stdarg.h>
24#include <stddef.h> 24#include <stddef.h>
25#include <inttypes.h> 25#include <inttypes.h>
26#include <limits.h>
26 27
27#include <intprops.h> 28#include <intprops.h>
28 29