[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104610: * lisp.h: Include <limits.h>
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104610: * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX. |
Date: |
Thu, 16 Jun 2011 15:50:46 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104610
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2011-06-16 15:50:46 -0700
message:
* 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".
modified:
src/ChangeLog
src/lisp.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-06-16 21:25:42 +0000
+++ b/src/ChangeLog 2011-06-16 22:50:46 +0000
@@ -1,5 +1,9 @@
2011-06-16 Paul Eggert <address@hidden>
+ * 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".
+
Improve buffer-overflow checking (Bug#8873).
* fileio.c (Finsert_file_contents):
* insdel.c (insert_from_buffer_1, replace_range, replace_range_2):
=== modified file 'src/lisp.h'
--- a/src/lisp.h 2011-06-16 06:48:01 +0000
+++ b/src/lisp.h 2011-06-16 22:50:46 +0000
@@ -23,6 +23,7 @@
#include <stdarg.h>
#include <stddef.h>
#include <inttypes.h>
+#include <limits.h>
#include <intprops.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104610: * lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.,
Paul Eggert <=