]> git.eshelyaron.com Git - emacs.git/commit
Prefer memset to repeatedly assigning Qnil
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Jan 2015 08:56:18 +0000 (00:56 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Jan 2015 09:01:58 +0000 (01:01 -0800)
commitb7f83adda5a32140811e8e7decc4394d64cada3d
tree98d7d6763a62fc033464e4f2d5edde5c937623dd
parent9592a014df784e67a4647d5b6424f2758dfaad3c
Prefer memset to repeatedly assigning Qnil

* alloc.c (allocate_pseudovector): Catch more bogus values.
* alloc.c (allocate_pseudovector):
* callint.c (Fcall_interactively):
* coding.c (syms_of_coding):
* fringe.c (init_fringe):
Verify that Qnil == 0.
* callint.c (Fcall_interactively):
* eval.c (Fapply, Ffuncall):
* fns.c (mapcar1, larger_vector):
* font.c (font_expand_wildcards):
* fringe.c (init_fringe):
Prefer memset to assigning zeros by hand.
* callint.c (Fcall_interactively):
Remove duplicate assignment of Qnil to args[i].
* coding.c (syms_of_coding):
Prefer LISP_INITIALLY_ZERO to assigning zeros by hand.
* fileio.c (Ffile_selinux_context):
Rewrite to avoid need for Lisp_Object array.
* lisp.h (XLI_BUILTIN_LISPSYM): New macro.
(DEFINE_LISP_SYMBOL_END): Use it.
(NIL_IS_ZERO): New constant.
(memsetnil): New function.
src/ChangeLog
src/alloc.c
src/callint.c
src/coding.c
src/eval.c
src/fileio.c
src/fns.c
src/font.c
src/fringe.c
src/lisp.h