all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Chong Yidong <cyd@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs pretest 23.0.90
Date: Mon, 16 Jan 2012 11:46:37 -0500	[thread overview]
Message-ID: <4F14546D.4050101@cornell.edu> (raw)
In-Reply-To: <4F135D26.8050103@cornell.edu>

On 1/15/2012 6:11 PM, Ken Brown wrote:
> This doesn't build if USE_MMAP_FOR_BUFFERS is defined. The following
> patch fixes it:
>
> --- buffer.c~ 2012-01-11 07:35:01.000000000 -0500
> +++ buffer.c 2012-01-15 17:55:45.812514400 -0500
> @@ -5338,7 +5338,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);
> }

Just to clarify this, the change you missed is revno 104021.1.3 on the 
trunk:

$ bzr log -r104021.1.3 -v -p
------------------------------------------------------------
revno: 104021.1.3
committer: Paul Eggert <eggert@cs.ucla.edu>
branch nick: atest
timestamp: Wed 2011-04-27 01:06:26 -0700
message:
   * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing 
change
modified:
   src/ChangeLog
   src/buffer.c
diff:
=== modified file 'src/ChangeLog'
--- src/ChangeLog       2011-04-27 06:01:43 +0000
+++ src/ChangeLog       2011-04-27 08:06:26 +0000
@@ -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.

=== modified file 'src/buffer.c'
--- src/buffer.c        2011-04-26 06:17:52 +0000
+++ 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	other threads:[~2012-01-16 16:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15  4:05 Emacs pretest 23.0.90 Chong Yidong
2012-01-15 20:55 ` Emacs pretest 23.3.90 Windows Binaries Christoph Scholtes
2012-01-15 23:11 ` Emacs pretest 23.0.90 Ken Brown
2012-01-16 16:46   ` Ken Brown [this message]
2012-01-18 15:06     ` Chong Yidong
2012-01-17 15:39 ` Kazuhiro Ito
2012-01-18 15:05   ` Chong Yidong
2012-01-19  8:44     ` Kazuhiro Ito
2012-01-19 14:57       ` Chong Yidong
2012-01-21  8:26         ` Kazuhiro Ito
2012-01-18 23:36 ` Andy Moreton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F14546D.4050101@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.