]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 5584eb61980ebb714afaf6af0d6b315cfa2dfa37..e2ac23256a7e5a8f0b77f539ebc963f8c6e28c8d 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 d9949045444c90a9cd30e03604f0b89ead6fc9e7..05bd129976fd905e33a4fb29cf40c72fe66879f6 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);
  }