[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117941: Default to stack objects on non-GNU/Linux,
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r117941: Default to stack objects on non-GNU/Linux, non-DOS_NT platforms. |
Date: |
Wed, 24 Sep 2014 20:54:28 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117941
revision-id: address@hidden
parent: address@hidden
author: Paul Eggert <address@hidden>
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Wed 2014-09-24 13:54:25 -0700
message:
Default to stack objects on non-GNU/Linux, non-DOS_NT platforms.
* lisp.h (USE_STACK_LISP_OBJECTS): Also default to true
if !defined DOS_NT && !defined GNU_LINUX. I've tested this on AIX
and Solaris and it's likely to work on similar platforms.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/lisp.h lisp.h-20091113204419-o5vbwnq5f7feedwu-253
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-09-24 20:30:28 +0000
+++ b/src/ChangeLog 2014-09-24 20:54:25 +0000
@@ -1,5 +1,10 @@
2014-09-24 Paul Eggert <address@hidden>
+ Default to stack objects on non-GNU/Linux, non-DOS_NT platforms.
+ * lisp.h (USE_STACK_LISP_OBJECTS): Also default to true
+ if !defined DOS_NT && !defined GNU_LINUX. I've tested this on AIX
+ and Solaris and it's likely to work on similar platforms.
+
Avoid signed integer overflow when converting Time to ptrdiff_t.
* keyboard.c (INPUT_EVENT_POS_MAX, INPUT_EVENT_POS_MIN):
New macros.
=== modified file 'src/lisp.h'
--- a/src/lisp.h 2014-09-24 13:42:42 +0000
+++ b/src/lisp.h 2014-09-24 20:54:25 +0000
@@ -282,13 +282,12 @@
# endif
#endif
-/* This should work on GNU/Linux with GCC. Other configurations may be
- problematic and/or not tested yet. Clang is known to have problems,
- see http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html.
+/* This should work with GCC on non-DOS_NT. Clang has known problems; see
+ http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html.
Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html
- describes an issues with 32-bit MS-Windows. */
+ describes an issue with 32-bit MS-Windows. */
#ifndef USE_STACK_LISP_OBJECTS
-# if defined (GNU_LINUX) && defined (__GNUC__) && !defined (__clang__)
+# if defined __GNUC__ && !defined __clang__ && !defined DOS_NT
# define USE_STACK_LISP_OBJECTS true
# else
# define USE_STACK_LISP_OBJECTS false
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117941: Default to stack objects on non-GNU/Linux, non-DOS_NT platforms.,
Paul Eggert <=