From f61f41d74747ed3189526ca70b128acf3719c6fa Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 27 Apr 2011 01:06:26 -0700 Subject: [PATCH] * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change --- src/ChangeLog | 5 +++++ src/buffer.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5584eb61980..e2ac23256a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-04-27 Yoshiaki Kasahara (tiny change) + + * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing + change. + 2011-04-27 Paul Eggert * nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF. diff --git a/src/buffer.c b/src/buffer.c index d9949045444..05bd129976f 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5155,7 +5155,7 @@ init_buffer (void) 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); } -- 2.39.2