summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-06 14:53:56 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-06 14:53:56 -0700
commit22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93 (patch)
tree77f5318c4497f9d95bac3532afc6500c3a01047c /lisp/emacs-lisp/byte-run.el
parente0457abee89abfe781a02de58ca6c35041e0e5d9 (diff)
downloademacs-22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93.tar.gz
emacs-22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93.tar.bz2
emacs-22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93.zip
Remove unportable assumption about struct layout (Bug#8884).
* 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.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions