aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-08-03 16:36:11 -0700
committerPaul Eggert2012-08-03 16:36:11 -0700
commit98c6f1e36ff487925280fa0b0340af9d058632b5 (patch)
tree5601a2ac9433883b753a36f8d9c15f9d9d0b0eec /src/ChangeLog
parent8834c57aab03fb7ea9d92f9e995844ff7ce64b7b (diff)
downloademacs-98c6f1e36ff487925280fa0b0340af9d058632b5.tar.gz
emacs-98c6f1e36ff487925280fa0b0340af9d058632b5.zip
Remove unnecessary casts involving pointers.
These casts are no longer needed now that we assume C89 or later, since they involve casting to or from void *. * alloc.c (make_pure_string, make_pure_c_string, pure_cons) (make_pure_float, make_pure_vector): * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): * macros.c (Fstart_kbd_macro): * menu.c (find_and_return_menu_selection): * minibuf.c (read_minibuf_noninteractive): * sysdep.c (closedir): * xdisp.c (x_produce_glyphs): * xfaces.c (compare_fonts_by_sort_order): * xfns.c (x_real_positions, select_visual): * xselect.c (x_stop_queuing_selection_requests) (x_get_window_property, x_get_window_property_as_lisp_data): * xterm.c (x_set_frame_alpha, x_find_modifier_meanings): Remove unnecessary pointer casts. * alloc.c (record_xmalloc): New function. * lisp.h (record_xmalloc): New decl. (SAFE_ALLOCA): Now takes just one arg -- the size -- and acts more like a function. This is because the pointer cast is not needed. All uses changed. * print.c (print_string, print_error_message): Avoid length recalc.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4aa0dcb022e..c3868f521ea 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,29 @@
12012-08-03 Paul Eggert <eggert@cs.ucla.edu> 12012-08-03 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Remove unnecessary casts involving pointers.
4 These casts are no longer needed now that we assume C89 or later,
5 since they involve casting to or from void *.
6 * alloc.c (make_pure_string, make_pure_c_string, pure_cons)
7 (make_pure_float, make_pure_vector):
8 * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP):
9 * macros.c (Fstart_kbd_macro):
10 * menu.c (find_and_return_menu_selection):
11 * minibuf.c (read_minibuf_noninteractive):
12 * sysdep.c (closedir):
13 * xdisp.c (x_produce_glyphs):
14 * xfaces.c (compare_fonts_by_sort_order):
15 * xfns.c (x_real_positions, select_visual):
16 * xselect.c (x_stop_queuing_selection_requests)
17 (x_get_window_property, x_get_window_property_as_lisp_data):
18 * xterm.c (x_set_frame_alpha, x_find_modifier_meanings):
19 Remove unnecessary pointer casts.
20 * alloc.c (record_xmalloc): New function.
21 * lisp.h (record_xmalloc): New decl.
22 (SAFE_ALLOCA): Now takes just one arg -- the size -- and acts
23 more like a function. This is because the pointer cast is not
24 needed. All uses changed.
25 * print.c (print_string, print_error_message): Avoid length recalc.
26
3 Improve fix for macroexp crash with debugging (Bug#12118). 27 Improve fix for macroexp crash with debugging (Bug#12118).
4 * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to 28 * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to
5 ARRAY_MARK_FLAG when checking subscripts, because ASET is 29 ARRAY_MARK_FLAG when checking subscripts, because ASET is