diff options
| author | Richard Brooksby | 2013-02-18 15:46:39 +0000 |
|---|---|---|
| committer | Richard Brooksby | 2013-02-18 15:46:39 +0000 |
| commit | c4d6a2de1fe68470485c523b54f1c0d59ff87f2d (patch) | |
| tree | 5ae114ac8651dac869663f2a23a05b062dfcfc5b /mps/code/buffer.c | |
| parent | 2706097eab7b3d1aa9429ef0e4ea1ac9f3c6edbe (diff) | |
| download | emacs-c4d6a2de1fe68470485c523b54f1c0d59ff87f2d.tar.gz emacs-c4d6a2de1fe68470485c523b54f1c0d59ff87f2d.zip | |
Merging spelling corrections contributed by bruce mitchener.
See <https://github.com/datafueled/memory-pool-system/commit/1c80ccb634669283a4c1244cac42e59e1b5adee2>.
Copied from Perforce
Change: 180956
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/buffer.c')
| -rw-r--r-- | mps/code/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mps/code/buffer.c b/mps/code/buffer.c index f911a28c6b9..1731b2d9826 100644 --- a/mps/code/buffer.c +++ b/mps/code/buffer.c | |||
| @@ -223,7 +223,7 @@ static Res BufferInitV(Buffer buffer, BufferClass class, | |||
| 223 | buffer->alignment = pool->alignment; /* .trans.mod */ | 223 | buffer->alignment = pool->alignment; /* .trans.mod */ |
| 224 | buffer->base = (Addr)0; | 224 | buffer->base = (Addr)0; |
| 225 | buffer->initAtFlip = (Addr)0; | 225 | buffer->initAtFlip = (Addr)0; |
| 226 | /* In the next three assignements we really mean zero, not NULL, because | 226 | /* In the next three assignments we really mean zero, not NULL, because |
| 227 | the bit pattern is compared. It's pretty unlikely we'll encounter | 227 | the bit pattern is compared. It's pretty unlikely we'll encounter |
| 228 | a platform where this makes a difference. */ | 228 | a platform where this makes a difference. */ |
| 229 | buffer->ap_s.init = (mps_addr_t)0; | 229 | buffer->ap_s.init = (mps_addr_t)0; |
| @@ -861,7 +861,7 @@ Bool BufferTrip(Buffer buffer, Addr p, Size size) | |||
| 861 | return FALSE; | 861 | return FALSE; |
| 862 | } | 862 | } |
| 863 | 863 | ||
| 864 | /* Emit event including class if loggged */ | 864 | /* Emit event including class if logged */ |
| 865 | if (buffer->mode & BufferModeLOGGED) { | 865 | if (buffer->mode & BufferModeLOGGED) { |
| 866 | Bool b; | 866 | Bool b; |
| 867 | Format format; | 867 | Format format; |
| @@ -1170,7 +1170,7 @@ static void bufferNoSetRankSet (Buffer buffer, RankSet rankset) | |||
| 1170 | 1170 | ||
| 1171 | /* bufferNoReassignSeg -- basic BufferReassignSeg method | 1171 | /* bufferNoReassignSeg -- basic BufferReassignSeg method |
| 1172 | * | 1172 | * |
| 1173 | * .noseg: basic buffers don't support attachment to sements, so this | 1173 | * .noseg: basic buffers don't support attachment to segments, so this |
| 1174 | * method should not be called. */ | 1174 | * method should not be called. */ |
| 1175 | 1175 | ||
| 1176 | static void bufferNoReassignSeg (Buffer buffer, Seg seg) | 1176 | static void bufferNoReassignSeg (Buffer buffer, Seg seg) |