[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100652: Fix init_buffer for USE_M
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100652: Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk) |
Date: |
Wed, 18 Jan 2012 23:01:35 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 100652
author: Yoshiaki Kasahara <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Wed 2012-01-18 23:01:35 +0800
message:
Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.
modified:
src/ChangeLog
src/buffer.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-01-15 02:55:52 +0000
+++ b/src/ChangeLog 2012-01-18 15:01:35 +0000
@@ -1,3 +1,8 @@
+2012-01-18 Yoshiaki Kasahara <address@hidden> (tiny change)
+
+ * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
+ aliasing change.
+
2012-01-15 YAMAMOTO Mitsuharu <address@hidden>
* xftfont.c (xftfont_draw): Use the font metrics of s->font to
=== modified file 'src/buffer.c'
--- a/src/buffer.c 2012-01-11 07:52:35 +0000
+++ b/src/buffer.c 2012-01-18 15:01:35 +0000
@@ -5338,7 +5338,7 @@
Map new memory. */
struct buffer *b;
- for (b = all_buffers; b; b = b->next)
+ for (b = all_buffers; b; b = b->header.next.buffer)
if (b->text->beg == NULL)
enlarge_buffer_text (b, 0);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100652: Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk),
Chong Yidong <=