* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Apr 2011 08:06:26 +0000 (01:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 27 Apr 2011 08:06:26 +0000 (01:06 -0700)
src/ChangeLog
src/buffer.c

index 5584eb6..e2ac232 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-27  Yoshiaki Kasahara  <kasahara@nc.kyushu-u.ac.jp>  (tiny change)
+
+       * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing
+       change.
+
 2011-04-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        * nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.
index d994904..05bd129 100644 (file)
@@ -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);
  }