aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-09-11 15:59:50 -0700
committerPaul Eggert2012-09-11 15:59:50 -0700
commitae1d87e24edc6a5fa4bc291e1b2ea20d7853127c (patch)
tree200f48e41018df77fb2f63e55e0d22c829968ebe /lib-src/ChangeLog
parent5779a1dc62593be8294edaecfecca4359be9ab4e (diff)
downloademacs-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 'lib-src/ChangeLog')
-rw-r--r--lib-src/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 35190fd2a8f..f5846657707 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12012-09-11 Paul Eggert <eggert@cs.ucla.edu>
2
3 * pop.c (socket_connection) [HAVE_GETADDRINFO]:
4 Prefer assignment to memcpy when either will do.
5
12012-08-31 Andreas Schwab <schwab@linux-m68k.org> 62012-08-31 Andreas Schwab <schwab@linux-m68k.org>
2 7
3 * etags.c (consider_token): Always zero-terminate token buffer. 8 * etags.c (consider_token): Always zero-terminate token buffer.