diff options
| author | Andrea Corallo | 2022-08-17 22:48:59 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2022-08-19 10:09:38 +0200 |
| commit | 095ea821208b7470da98d95820653c8d527cd745 (patch) | |
| tree | 40e9fd052be6e19d842f6c70d5e0f1dd03d7e715 /src/alloc.c | |
| parent | 8f1d0295bcf5ff5b2899831a5705051bca366c0e (diff) | |
| download | emacs-095ea821208b7470da98d95820653c8d527cd745.tar.gz emacs-095ea821208b7470da98d95820653c8d527cd745.zip | |
* src/pdumper.c (Fdump_emacs_portable): Check and warn for pure space overflow
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c index 6e166d00d5b..2ffee9f729d 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5355,9 +5355,6 @@ pure_alloc (size_t size, int type) | |||
| 5355 | goto again; | 5355 | goto again; |
| 5356 | } | 5356 | } |
| 5357 | 5357 | ||
| 5358 | |||
| 5359 | #ifdef HAVE_UNEXEC | ||
| 5360 | |||
| 5361 | /* Print a warning if PURESIZE is too small. */ | 5358 | /* Print a warning if PURESIZE is too small. */ |
| 5362 | 5359 | ||
| 5363 | void | 5360 | void |
| @@ -5368,8 +5365,6 @@ check_pure_size (void) | |||
| 5368 | " bytes needed)"), | 5365 | " bytes needed)"), |
| 5369 | pure_bytes_used + pure_bytes_used_before_overflow); | 5366 | pure_bytes_used + pure_bytes_used_before_overflow); |
| 5370 | } | 5367 | } |
| 5371 | #endif | ||
| 5372 | |||
| 5373 | 5368 | ||
| 5374 | /* Find the byte sequence {DATA[0], ..., DATA[NBYTES-1], '\0'} from | 5369 | /* Find the byte sequence {DATA[0], ..., DATA[NBYTES-1], '\0'} from |
| 5375 | the non-Lisp data pool of the pure storage, and return its start | 5370 | the non-Lisp data pool of the pure storage, and return its start |