diff options
| author | Paul Eggert | 2011-07-06 14:53:56 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-06 14:53:56 -0700 |
| commit | 22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93 (patch) | |
| tree | 77f5318c4497f9d95bac3532afc6500c3a01047c /src/ChangeLog | |
| parent | e0457abee89abfe781a02de58ca6c35041e0e5d9 (diff) | |
| download | emacs-22b4128ef0160a0fab35a5d6dfc0f6a55c8bad93.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dc62da2035b..72a6f875f53 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-07-06 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Remove unportable assumption about struct layout (Bug#8884). | ||
| 4 | * buffer.c (clone_per_buffer_values): Don't assume that | ||
| 5 | sizeof (struct buffer) is a multiple of sizeof (Lisp_Object). | ||
| 6 | This isn't true in general, and it's particularly not true | ||
| 7 | if Emacs is configured with --with-wide-int. | ||
| 8 | * buffer.h (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER): | ||
| 9 | New macros, used in the buffer.c change. | ||
| 10 | |||
| 1 | 2011-07-05 Jan Djärv <jan.h.d@swipnet.se> | 11 | 2011-07-05 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 12 | ||
| 3 | * xsettings.c: Use both GConf and GSettings if both are available. | 13 | * xsettings.c: Use both GConf and GSettings if both are available. |