From 259d15166e113c2ee39769ae79a7f333e698d88a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 19 Aug 2007 00:17:53 +0000 Subject: [PATCH] (pure): Round PURESIZE up. --- src/ChangeLog | 4 ++++ src/alloc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 89267c92f0a..add0663a648 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-08-19 Andreas Schwab + + * alloc.c (pure): Round PURESIZE up. + 2007-08-17 Jan Dj,Ad(Brv * xterm.c (handle_one_xevent): Remove check that mouse click is in diff --git a/src/alloc.c b/src/alloc.c index 948b87851a7..bcec8ea4560 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -266,7 +266,7 @@ Lisp_Object Vmemory_full; remapping on more recent systems because this is less important nowadays than in the days of small memories and timesharing. */ -EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; +EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; #define PUREBEG (char *) pure #else /* HAVE_SHM */ -- 2.39.5