diff options
| author | Paul Eggert | 2012-09-11 15:59:50 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-11 15:59:50 -0700 |
| commit | ae1d87e24edc6a5fa4bc291e1b2ea20d7853127c (patch) | |
| tree | 200f48e41018df77fb2f63e55e0d22c829968ebe /src/ChangeLog | |
| parent | 5779a1dc62593be8294edaecfecca4359be9ab4e (diff) | |
| download | emacs-ae1d87e24edc6a5fa4bc291e1b2ea20d7853127c.tar.gz emacs-ae1d87e24edc6a5fa4bc291e1b2ea20d7853127c.zip | |
Prefer assignment to memcpy when either will do.
* lib-src/pop.c (socket_connection) [HAVE_GETADDRINFO]:
* src/bidi.c (bidi_push_it, bidi_pop_it):
* src/fns.c (copy_hash_table):
* src/image.c (define_image_type):
* src/keyboard.c (kbd_buffer_store_event_hold):
* src/process.c (Fprocess_send_eof):
* src/xfaces.c (x_create_gc) [HAVE_NS]:
* src/xgselect.c (xg_select):
Use assignment, not memcpy, as either will do here, and assignment is
more likely to catch type errors.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2b0686cc49e..74a12b94b08 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2012-09-11 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-09-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * bidi.c (bidi_push_it, bidi_pop_it): | ||
| 4 | * fns.c (copy_hash_table): | ||
| 5 | * image.c (define_image_type): | ||
| 6 | * keyboard.c (kbd_buffer_store_event_hold): | ||
| 7 | * process.c (Fprocess_send_eof): | ||
| 8 | * xfaces.c (x_create_gc) [HAVE_NS]: | ||
| 9 | * xgselect.c (xg_select): | ||
| 10 | Prefer assignment to memcpy when either will do. | ||
| 11 | |||
| 3 | * alloc.c (discard_killed_buffers): Tune and simplify a bit. | 12 | * alloc.c (discard_killed_buffers): Tune and simplify a bit. |
| 4 | Use pointer-to-a-pointer to simplify and avoid a NILP check each | 13 | Use pointer-to-a-pointer to simplify and avoid a NILP check each |
| 5 | time an item is removed. No need to mark this function 'inline'; | 14 | time an item is removed. No need to mark this function 'inline'; |