diff options
| author | Dmitry Antipov | 2012-08-21 14:21:04 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-21 14:21:04 +0400 |
| commit | 086ca913a8495b1d4f0d7eae58aea75f2f5e44ae (patch) | |
| tree | 0eb5a3cb36efc4b1f2209dfa74be7d6fd3c1b034 /src/ChangeLog | |
| parent | 0e733db9150ea50dc1a3687a0898d6264c4cabd8 (diff) | |
| download | emacs-086ca913a8495b1d4f0d7eae58aea75f2f5e44ae.tar.gz emacs-086ca913a8495b1d4f0d7eae58aea75f2f5e44ae.zip | |
Avoid direct writes to contents member of struct Lisp_Vector.
* lisp.h (vcopy): New function to copy data into vector.
* dispnew.c (Fframe_or_buffer_changed_p): Use AREF and ASET.
* fns.c (Ffillarray): Use ASET.
* keyboard.c (timer_check_2): Use AREF and ASET.
(append_tool_bar_item, Frecent_keys): Use vcopy.
* lread.c (read_vector): Use ASET.
* msdos.c (Frecent_doskeys): Use vcopy.
* xface.c (Finternal_copy_lisp_face): Use vcopy.
(Finternal_merge_in_global_face): Use ASET and vcopy.
* xfont.c (xfont_list_pattern): Likewise.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 15eac722f8e..75853f3d354 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-08-21 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Avoid direct writes to contents member of struct Lisp_Vector. | ||
| 4 | * lisp.h (vcopy): New function to copy data into vector. | ||
| 5 | * dispnew.c (Fframe_or_buffer_changed_p): Use AREF and ASET. | ||
| 6 | * fns.c (Ffillarray): Use ASET. | ||
| 7 | * keyboard.c (timer_check_2): Use AREF and ASET. | ||
| 8 | (append_tool_bar_item, Frecent_keys): Use vcopy. | ||
| 9 | * lread.c (read_vector): Use ASET. | ||
| 10 | * msdos.c (Frecent_doskeys): Use vcopy. | ||
| 11 | * xface.c (Finternal_copy_lisp_face): Use vcopy. | ||
| 12 | (Finternal_merge_in_global_face): Use ASET and vcopy. | ||
| 13 | * xfont.c (xfont_list_pattern): Likewise. | ||
| 14 | |||
| 1 | 2012-08-21 Martin Rudalics <rudalics@gmx.at> | 15 | 2012-08-21 Martin Rudalics <rudalics@gmx.at> |
| 2 | 16 | ||
| 3 | * window.c (Fwindow_point): For the selected window always return | 17 | * window.c (Fwindow_point): For the selected window always return |