emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104026: * buffer.c (init_buffer) [US


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104026: * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change.
Date: Wed, 27 Apr 2011 01:08:00 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104026 [merge]
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Wed 2011-04-27 01:08:00 -0700
message:
  * 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     2011-04-27 06:01:43 +0000
+++ b/src/ChangeLog     2011-04-27 08:06:26 +0000
@@ -1,3 +1,8 @@
+2011-04-27  Yoshiaki Kasahara  <address@hidden>  (tiny change)
+
+       * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing
+       change.
+
 2011-04-27  Paul Eggert  <address@hidden>
 
        * nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.

=== modified file 'src/buffer.c'
--- a/src/buffer.c      2011-04-26 06:17:52 +0000
+++ b/src/buffer.c      2011-04-27 08:06:26 +0000
@@ -5155,7 +5155,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);
  }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]