diff options
| author | Paul Eggert | 2012-09-12 14:34:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-12 14:34:24 -0700 |
| commit | 40bce90baad677cd631c27819b32cca9c5d3a1ab (patch) | |
| tree | 7c096868112d49bbe3066739bdf007c67a1919e3 /src/ChangeLog | |
| parent | a9f9d9de77e246af750ce5304320b0f66a085ea9 (diff) | |
| download | emacs-40bce90baad677cd631c27819b32cca9c5d3a1ab.tar.gz emacs-40bce90baad677cd631c27819b32cca9c5d3a1ab.zip | |
More fixes for 'volatile' and setjmp/longjmp.
* eval.c (Fdefvar, Fcondition_case): Remove unnecessary 'volatile's.
* image.c (struct png_load_context) [HAVE_PNG]: New type.
(png_load_body) [HAVE_PNG]:
(jpeg_load_body) [HAVE_JPEG]:
New function, with most of the old parent function's body.
(png_load) [HAVE_PNG]:
(jpeg_load) [HAVE_JPEG]:
Invoke the new function, to avoid longjmp munging our locals.
(struct my_jpeg_error_mgr) [HAVE_JPEG]: New members cinfo, failure_code.
(my_error_exit) [HAVE_JPEG]: Don't trust 'setjmp' to return 2 when
longjmp is passed 2, as the C standard doesn't guarantee this.
Instead, store the failure code into mgr->failure_code.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8b47c52c23f..c0d3316bea1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2012-09-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | More fixes for 'volatile' and setjmp/longjmp. | ||
| 4 | * eval.c (Fdefvar, Fcondition_case): Remove unnecessary 'volatile's. | ||
| 5 | * image.c (struct png_load_context) [HAVE_PNG]: New type. | ||
| 6 | (png_load_body) [HAVE_PNG]: | ||
| 7 | (jpeg_load_body) [HAVE_JPEG]: | ||
| 8 | New function, with most of the old parent function's body. | ||
| 9 | (png_load) [HAVE_PNG]: | ||
| 10 | (jpeg_load) [HAVE_JPEG]: | ||
| 11 | Invoke the new function, to avoid longjmp munging our locals. | ||
| 12 | (struct my_jpeg_error_mgr) [HAVE_JPEG]: New members cinfo, failure_code. | ||
| 13 | (my_error_exit) [HAVE_JPEG]: Don't trust 'setjmp' to return 2 when | ||
| 14 | longjmp is passed 2, as the C standard doesn't guarantee this. | ||
| 15 | Instead, store the failure code into mgr->failure_code. | ||
| 16 | |||
| 1 | 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | 17 | 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 18 | ||
| 3 | * keyboard.c (read_char, requeued_events_pending_p, Finput_pending_p) | 19 | * keyboard.c (read_char, requeued_events_pending_p, Finput_pending_p) |