Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change.
This commit is contained in:
parent
c3fae8e7fa
commit
893d44a169
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-01-18 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change)
|
||||
|
||||
* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
|
||||
aliasing change.
|
||||
|
||||
2012-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
|
||||
|
||||
* xftfont.c (xftfont_draw): Use the font metrics of s->font to
|
||||
|
|
|
@ -5338,7 +5338,7 @@ init_buffer ()
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue