[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7186: Patch
From: |
William Throwe |
Subject: |
bug#7186: Patch |
Date: |
Sun, 10 Oct 2010 17:10:15 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20101002 Lanikai/3.1.4 |
SSP can reorder function arguments, so the function args can't be
treated as an array if it is enabled. Simple patch fixing the problem
follows.
*** emacs-23.2/src/m/intel386.h Sat Apr 3 18:26:07 2010
--- emacs-23.2.patch/src/m/intel386.h Sun Oct 10 16:36:31 2010
***************
*** 103,107 ****
--- 103,111 ----
#define SEGMENT_MASK ((SEGMENT_SIZE)-1)
#endif
+ #ifdef __SSP_ALL__
+ #define NO_ARG_ARRAY
+ #endif
+
/* arch-tag: 746338f0-cb7b-4f49-a98c-cb50817cf2ec
(do not change this comment) */