Always allocate at least one bits_word per bool vector.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2013 18:37:25 +0000 (10:37 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2013 18:37:25 +0000 (10:37 -0800)
commit87d86601022feb7a330fc6344cc85ec65563c1b6
treebd7b266fcaca082eb4f3854ef32344d98106a58d
parent37c790b38599cc80a16c6a76152abbf8160fe2a1
Always allocate at least one bits_word per bool vector.

See Daniel Colascione in:
http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html
* alloc.c (make_uninit_bool_vector): Always allocate at least one word.
* data.c (bool_vector_binop_driver): Rely on this.  Tune.
* lisp.h (struct Lisp_Bool_vector): Document this.
src/ChangeLog
src/alloc.c
src/data.c
src/lisp.h