diff options
| author | Gerd Moellmann | 2000-09-14 15:15:16 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-14 15:15:16 +0000 |
| commit | ef9e43452f5df301d89e9b63f6fe3bd1bf5960c2 (patch) | |
| tree | 1300955eae1482833692391a417f2bb4df19994e | |
| parent | 02bb17d31c5ee731b97e91c3c2af3bdb22e36d25 (diff) | |
| download | emacs-ef9e43452f5df301d89e9b63f6fe3bd1bf5960c2.tar.gz emacs-ef9e43452f5df301d89e9b63f6fe3bd1bf5960c2.zip | |
*** empty log message ***
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rwxr-xr-x | configure | 18 | ||||
| -rw-r--r-- | src/ChangeLog | 29 |
3 files changed, 44 insertions, 9 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-09-14 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (USE_MMAP_FOR_BUFFERS): Recognize in system | ||
| 4 | configuration files instead of REL_ALLOC_MMAP. Set REL_ALLOC | ||
| 5 | to `no' if defined. Change result report. | ||
| 6 | |||
| 1 | 2000-09-08 Dave Love <fx@gnu.org> | 7 | 2000-09-08 Dave Love <fx@gnu.org> |
| 2 | 8 | ||
| 3 | * configure.in: Remove spurious `@'s. | 9 | * configure.in: Remove spurious `@'s. |
| @@ -2324,10 +2324,10 @@ configure___ system_malloc=yes | |||
| 2324 | configure___ system_malloc=no | 2324 | configure___ system_malloc=no |
| 2325 | #endif | 2325 | #endif |
| 2326 | 2326 | ||
| 2327 | #ifdef REL_ALLOC_MMAP | 2327 | #ifdef USE_MMAP_FOR_BUFFERS |
| 2328 | configure___ rel_alloc_mmap=yes | 2328 | configure___ use_mmap_for_buffers=yes |
| 2329 | #else | 2329 | #else |
| 2330 | configure___ rel_alloc_mmap=no | 2330 | configure___ use_mmap_for_buffers=no |
| 2331 | #endif | 2331 | #endif |
| 2332 | 2332 | ||
| 2333 | #ifndef C_DEBUG_SWITCH | 2333 | #ifndef C_DEBUG_SWITCH |
| @@ -3504,7 +3504,7 @@ else | |||
| 3504 | int main() { | 3504 | int main() { |
| 3505 | 3505 | ||
| 3506 | /* Ultrix mips cc rejects this. */ | 3506 | /* Ultrix mips cc rejects this. */ |
| 3507 | typedef int charset[2]; const charset x = {0,0}; | 3507 | typedef int charset[2]; const charset x; |
| 3508 | /* SunOS 4.1.1 cc rejects this. */ | 3508 | /* SunOS 4.1.1 cc rejects this. */ |
| 3509 | char const *const *ccp; | 3509 | char const *const *ccp; |
| 3510 | char **p; | 3510 | char **p; |
| @@ -4152,7 +4152,7 @@ if test x"${REL_ALLOC}" = x; then | |||
| 4152 | REL_ALLOC=${GNU_MALLOC} | 4152 | REL_ALLOC=${GNU_MALLOC} |
| 4153 | fi | 4153 | fi |
| 4154 | 4154 | ||
| 4155 | 4155 | in | |
| 4156 | for ac_hdr in stdlib.h unistd.h sys/stat.h | 4156 | for ac_hdr in stdlib.h unistd.h sys/stat.h |
| 4157 | do | 4157 | do |
| 4158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| @@ -4413,8 +4413,8 @@ EOF | |||
| 4413 | 4413 | ||
| 4414 | fi | 4414 | fi |
| 4415 | 4415 | ||
| 4416 | if test $rel_alloc_mmap = yes; then | 4416 | if test $use_mmap_for_buffers = yes; then |
| 4417 | REL_ALLOC=yes | 4417 | REL_ALLOC=no |
| 4418 | fi | 4418 | fi |
| 4419 | 4419 | ||
| 4420 | LIBS="$libsrc_libs $LIBS" | 4420 | LIBS="$libsrc_libs $LIBS" |
| @@ -5652,7 +5652,7 @@ else | |||
| 5652 | #include "confdefs.h" | 5652 | #include "confdefs.h" |
| 5653 | #include <alloca.h> | 5653 | #include <alloca.h> |
| 5654 | int main() { | 5654 | int main() { |
| 5655 | void *p = alloca(2 * sizeof(int)); | 5655 | char *p = alloca(2 * sizeof(int)); |
| 5656 | ; return 0; } | 5656 | ; return 0; } |
| 5657 | EOF | 5657 | EOF |
| 5658 | if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5658 | if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| @@ -8859,7 +8859,7 @@ Configured for \`${canonical}'. | |||
| 8859 | What compiler should emacs be built with? ${CC} ${CFLAGS} | 8859 | What compiler should emacs be built with? ${CC} ${CFLAGS} |
| 8860 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 8860 | Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} |
| 8861 | Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} | 8861 | Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} |
| 8862 | Should Emacs use mmap for the relocating allocator? $rel_alloc_mmap | 8862 | Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers |
| 8863 | What window system should Emacs use? ${window_system} | 8863 | What window system should Emacs use? ${window_system} |
| 8864 | What toolkit should Emacs use? ${USE_X_TOOLKIT}" | 8864 | What toolkit should Emacs use? ${USE_X_TOOLKIT}" |
| 8865 | 8865 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 087f3f2b498..d75937c30f8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,32 @@ | |||
| 1 | 2000-09-14 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h | ||
| 4 | (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | ||
| 5 | |||
| 6 | * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | ||
| 7 | |||
| 8 | * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | ||
| 9 | USE_MMAP_FOR_BUFFERS. | ||
| 10 | |||
| 11 | * insdel.c (make_gap): Use enlarge_buffer_text. | ||
| 12 | |||
| 13 | * buffer.c: Move allocation with mmap here, from ralloc.c. Change | ||
| 14 | conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | ||
| 15 | (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | ||
| 16 | from former r_alloc_* functions in ralloc.c. | ||
| 17 | (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | ||
| 18 | variables. | ||
| 19 | (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | ||
| 20 | (mmap_init) [REL_ALLOC_MMAP]: New function. | ||
| 21 | (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | ||
| 22 | functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | ||
| 23 | BUFFER_FREE. | ||
| 24 | |||
| 25 | * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | ||
| 26 | (enlarge_buffer_text): Add prototype. | ||
| 27 | |||
| 28 | * ralloc.c: Remove everything having to do with the use of mmap. | ||
| 29 | |||
| 1 | 2000-09-13 Gerd Moellmann <gerd@gnu.org> | 30 | 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
| 2 | 31 | ||
| 3 | * sound.c (Fplay_sound): Doc fix. | 32 | * sound.c (Fplay_sound): Doc fix. |