emacs-devel
[Top][All Lists]
Advanced

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

cannot compile buffer.c


From: Yoshiaki Kasahara
Subject: cannot compile buffer.c
Date: Wed, 27 Apr 2011 16:48:39 +0900 (JST)

Hello,

I needed a simple patch to compile buffer.c.  It seems that one line
was overlooked when 'struct buffer' was modified.

=== modified file 'src/buffer.c'
--- src/buffer.c        2011-04-26 06:17:52 +0000
+++ src/buffer.c        2011-04-27 07:18:33 +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);
  }

-- 
Yoshiaki Kasahara
Research Institute for Information Technology, Kyushu University
address@hidden



reply via email to

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