diff options
| author | Andreas Schwab | 2007-08-19 00:17:53 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-08-19 00:17:53 +0000 |
| commit | 259d15166e113c2ee39769ae79a7f333e698d88a (patch) | |
| tree | 21446dbdc068e97165970a2345024fdaf182e147 /src | |
| parent | e8612bf263b21df67717e5767d4b982bd24addb0 (diff) | |
| download | emacs-259d15166e113c2ee39769ae79a7f333e698d88a.tar.gz emacs-259d15166e113c2ee39769ae79a7f333e698d88a.zip | |
(pure): Round PURESIZE up.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/alloc.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 89267c92f0a..add0663a648 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-08-19 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * alloc.c (pure): Round PURESIZE up. | ||
| 4 | |||
| 1 | 2007-08-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 5 | 2007-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 948b87851a7..bcec8ea4560 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 | ||
| 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 */ |