diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/insdel.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a2848ead2cc..fa04a7ebfe5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * insdel.c (make_gap_smaller): Define only if | ||
| 4 | USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC. | ||
| 5 | |||
| 3 | * keyboard.c (read_char): Make a var volatile so longjmp won't clobber | 6 | * keyboard.c (read_char): Make a var volatile so longjmp won't clobber |
| 4 | it. | 7 | it. |
| 5 | 8 | ||
diff --git a/src/insdel.c b/src/insdel.c index 82dce13af98..5ecb01c9538 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -442,6 +442,7 @@ make_gap_larger (EMACS_INT nbytes_added) | |||
| 442 | Vinhibit_quit = tem; | 442 | Vinhibit_quit = tem; |
| 443 | } | 443 | } |
| 444 | 444 | ||
| 445 | #if defined USE_MMAP_FOR_BUFFERS || defined REL_ALLOC || defined DOUG_LEA_MALLOC | ||
| 445 | 446 | ||
| 446 | /* Make the gap NBYTES_REMOVED bytes shorter. */ | 447 | /* Make the gap NBYTES_REMOVED bytes shorter. */ |
| 447 | 448 | ||
| @@ -501,6 +502,8 @@ make_gap_smaller (EMACS_INT nbytes_removed) | |||
| 501 | Vinhibit_quit = tem; | 502 | Vinhibit_quit = tem; |
| 502 | } | 503 | } |
| 503 | 504 | ||
| 505 | #endif /* USE_MMAP_FOR_BUFFERS || REL_ALLOC || DOUG_LEA_MALLOC */ | ||
| 506 | |||
| 504 | void | 507 | void |
| 505 | make_gap (EMACS_INT nbytes_added) | 508 | make_gap (EMACS_INT nbytes_added) |
| 506 | { | 509 | { |