diff options
| author | Stefan Monnier | 2006-02-26 16:14:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-02-26 16:14:20 +0000 |
| commit | a7af5886205c9ba974ccff9ee4bcc7ea80a46429 (patch) | |
| tree | 40e83930b9a341d95e6c9f9f0f2d009dc759a9a8 | |
| parent | 782ea71aba3761983d71bf8ab9bb77c974abab56 (diff) | |
| download | emacs-a7af5886205c9ba974ccff9ee4bcc7ea80a46429.tar.gz emacs-a7af5886205c9ba974ccff9ee4bcc7ea80a46429.zip | |
(struct specbinding, specpdl_ptr): Remove the volatile qualifier which was
trying to avoid the bug that was fixed by yesterday's changes to xterm.c.
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/lisp.h | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ea5f5e317b8..bfbbf90e02b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,8 +1,14 @@ | |||
| 1 | 2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile | ||
| 4 | qualifier which was trying to avoid the bug that was fixed by | ||
| 5 | yesterday's changes to xterm.c. | ||
| 6 | |||
| 1 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> | 7 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * xterm.h (x_catch_errors) Return value changed to void. | 9 | * xterm.h (x_catch_errors) Return value changed to void. |
| 4 | (x_uncatch_errors): Unused count argument deleted. | 10 | (x_uncatch_errors): Delete unused count argument delete. |
| 5 | 11 | ||
| 6 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since | 12 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since |
| 7 | it can be called in a signal handler. | 13 | it can be called in a signal handler. |
| 8 | (x_catch_errors_unwind): Function deleted. | 14 | (x_catch_errors_unwind): Function deleted. |
diff --git a/src/lisp.h b/src/lisp.h index 992c05251b8..80503c4ccbc 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1744,13 +1744,13 @@ typedef Lisp_Object (*specbinding_func) P_ ((Lisp_Object)); | |||
| 1744 | 1744 | ||
| 1745 | struct specbinding | 1745 | struct specbinding |
| 1746 | { | 1746 | { |
| 1747 | volatile Lisp_Object symbol, old_value; | 1747 | Lisp_Object symbol, old_value; |
| 1748 | volatile specbinding_func func; | 1748 | specbinding_func func; |
| 1749 | Lisp_Object unused; /* Dividing by 16 is faster than by 12 */ | 1749 | Lisp_Object unused; /* Dividing by 16 is faster than by 12 */ |
| 1750 | }; | 1750 | }; |
| 1751 | 1751 | ||
| 1752 | extern struct specbinding *specpdl; | 1752 | extern struct specbinding *specpdl; |
| 1753 | extern volatile struct specbinding *specpdl_ptr; | 1753 | extern struct specbinding *specpdl_ptr; |
| 1754 | extern int specpdl_size; | 1754 | extern int specpdl_size; |
| 1755 | 1755 | ||
| 1756 | extern EMACS_INT max_specpdl_size; | 1756 | extern EMACS_INT max_specpdl_size; |