Mercurial > emacs
comparison src/alloc.c @ 82459:9bb857c2b902
(pure): Round PURESIZE up.
| author | Andreas Schwab <schwab@suse.de> |
|---|---|
| date | Sun, 19 Aug 2007 00:15:26 +0000 |
| parents | b98604865ea0 |
| children | 2a69b973fae2 aaccdab0ee26 |
comparison
equal
deleted
inserted
replaced
| 82458:0327a004a45d | 82459:9bb857c2b902 |
|---|---|
| 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 */ |
