aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2007-08-19 00:15:46 +0000
committerAndreas Schwab2007-08-19 00:15:46 +0000
commit2c4685eed1f791857f663ca774cd9d81959e0fb6 (patch)
treeb251c5a8a78ab98e1faf79fbf6aa33a9fc30af1d /src
parente01e5b4d0f629973cd3a46ba61d43b3bef34590f (diff)
downloademacs-2c4685eed1f791857f663ca774cd9d81959e0fb6.tar.gz
emacs-2c4685eed1f791857f663ca774cd9d81959e0fb6.zip
(pure): Round PURESIZE up.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/alloc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 86a6ad61d2d..038e8cc5470 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-08-19 Andreas Schwab <schwab@suse.de>
2
3 * alloc.c (pure): Round PURESIZE up.
4
12007-08-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 52007-08-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 6
3 * xterm.c (handle_one_xevent): Remove check that mouse click is in 7 * xterm.c (handle_one_xevent): Remove check that mouse click is in
diff --git a/src/alloc.c b/src/alloc.c
index a69f5045713..2947e48f815 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -266,7 +266,7 @@ Lisp_Object Vmemory_full;
266 remapping on more recent systems because this is less important 266 remapping on more recent systems because this is less important
267 nowadays than in the days of small memories and timesharing. */ 267 nowadays than in the days of small memories and timesharing. */
268 268
269EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; 269EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,};
270#define PUREBEG (char *) pure 270#define PUREBEG (char *) pure
271 271
272#else /* HAVE_SHM */ 272#else /* HAVE_SHM */