comparison src/alloc.c @ 78593:5d078cae9374

(pure): Round PURESIZE up.
author Andreas Schwab <schwab@suse.de>
date Sun, 19 Aug 2007 00:16:20 +0000
parents 922696f363b0
children 6ebdc9c66c94
comparison
equal deleted inserted replaced
78592:27e9833dfb51 78593:5d078cae9374
264 (rather than bss space). That way unexec will remap it into text 264 (rather than bss space). That way unexec will remap it into text
265 space (pure), on some systems. We have not implemented the 265 space (pure), on some systems. We have not implemented the
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
269 EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; 269 EMACS_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 */
273 273
274 #define pure PURE_SEG_BITS /* Use shared memory segment */ 274 #define pure PURE_SEG_BITS /* Use shared memory segment */