]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge: Remove unportable assumption about struct layout (Bug#8884).
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Jul 2011 21:56:44 +0000 (14:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Jul 2011 21:56:44 +0000 (14:56 -0700)
* buffer.c (clone_per_buffer_values): Don't assume that
sizeof (struct buffer) is a multiple of sizeof (Lisp_Object).
This isn't true in general, and it's particularly not true
if Emacs is configured with --with-wide-int.
* buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER):
New macros, used in the buffer.c change.


Trivial merge