From: Andreas Schwab Date: Sun, 19 Aug 2007 00:15:46 +0000 (+0000) Subject: (pure): Round PURESIZE up. X-Git-Tag: emacs-pretest-23.0.90~11452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c4685eed1f791857f663ca774cd9d81959e0fb6;p=emacs.git (pure): Round PURESIZE up. --- diff --git a/src/ChangeLog b/src/ChangeLog index 86a6ad61d2d..038e8cc5470 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 a69f5045713..2947e48f815 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 */