]> git.eshelyaron.com Git - emacs.git/commit
Minor string-length refactoring.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Aug 2013 15:42:08 +0000 (08:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Aug 2013 15:42:08 +0000 (08:42 -0700)
commit9acc107445a159001e56bae04ef2dc2792aa16d7
treec96ba4d408258a0addfbe97e602c2aa5148dfcd2
parent45fdb48240996f7ad9c8c03f438ecf7f5b925d8e
Minor string-length refactoring.

* alloc.c (xstrdup): Use memcpy, not strcpy, since the length's known.
* frame.c (make_monitor_attribute_list):
Prefer build_string to strlen + make_string.
src/ChangeLog
src/alloc.c
src/frame.c