[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109183: * buffer.h (struct buffer.in
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109183: * buffer.h (struct buffer.indirections): Now ptrdiff_t, not int, |
Date: |
Sat, 21 Jul 2012 20:44:35 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109183
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2012-07-21 20:44:35 -0700
message:
* buffer.h (struct buffer.indirections): Now ptrdiff_t, not int,
as it's limited by the amount of memory, not by INT_MAX.
modified:
src/ChangeLog
src/buffer.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-21 19:26:25 +0000
+++ b/src/ChangeLog 2012-07-22 03:44:35 +0000
@@ -1,3 +1,8 @@
+2012-07-22 Paul Eggert <address@hidden>
+
+ * buffer.h (struct buffer.indirections): Now ptrdiff_t, not int,
+ as it's limited by the amount of memory, not by INT_MAX.
+
2012-07-21 Eli Zaretskii <address@hidden>
* keyboard.c (keys_of_keyboard): Bind language-change to 'ignore'
=== modified file 'src/buffer.h'
--- a/src/buffer.h 2012-07-20 16:05:47 +0000
+++ b/src/buffer.h 2012-07-22 03:44:35 +0000
@@ -776,9 +776,9 @@
struct buffer *base_buffer;
/* In an indirect buffer, this is -1. In an ordinary buffer,
- it's the number of indirect buffers which shares our text;
+ it's the number of indirect buffers that share our text;
zero means that we're the only owner of this text. */
- int indirections;
+ ptrdiff_t indirections;
/* A non-zero value in slot IDX means that per-buffer variable
with index IDX has a local value in this buffer. The index IDX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109183: * buffer.h (struct buffer.indirections): Now ptrdiff_t, not int,,
Paul Eggert <=