aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-14 15:15:16 +0000
committerGerd Moellmann2000-09-14 15:15:16 +0000
commitef9e43452f5df301d89e9b63f6fe3bd1bf5960c2 (patch)
tree1300955eae1482833692391a417f2bb4df19994e
parent02bb17d31c5ee731b97e91c3c2af3bdb22e36d25 (diff)
downloademacs-ef9e43452f5df301d89e9b63f6fe3bd1bf5960c2.tar.gz
emacs-ef9e43452f5df301d89e9b63f6fe3bd1bf5960c2.zip
*** empty log message ***
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure18
-rw-r--r--src/ChangeLog29
3 files changed, 44 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index b6705f86858..1062c2365e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12000-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
12000-09-08 Dave Love <fx@gnu.org> 72000-09-08 Dave Love <fx@gnu.org>
2 8
3 * configure.in: Remove spurious `@'s. 9 * configure.in: Remove spurious `@'s.
diff --git a/configure b/configure
index 36d9f74064a..4d8b6504e8e 100755
--- a/configure
+++ b/configure
@@ -2324,10 +2324,10 @@ configure___ system_malloc=yes
2324configure___ system_malloc=no 2324configure___ system_malloc=no
2325#endif 2325#endif
2326 2326
2327#ifdef REL_ALLOC_MMAP 2327#ifdef USE_MMAP_FOR_BUFFERS
2328configure___ rel_alloc_mmap=yes 2328configure___ use_mmap_for_buffers=yes
2329#else 2329#else
2330configure___ rel_alloc_mmap=no 2330configure___ 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
3504int main() { 3504int main() {
3505 3505
3506/* Ultrix mips cc rejects this. */ 3506/* Ultrix mips cc rejects this. */
3507typedef int charset[2]; const charset x = {0,0}; 3507typedef int charset[2]; const charset x;
3508/* SunOS 4.1.1 cc rejects this. */ 3508/* SunOS 4.1.1 cc rejects this. */
3509char const *const *ccp; 3509char const *const *ccp;
3510char **p; 3510char **p;
@@ -4152,7 +4152,7 @@ if test x"${REL_ALLOC}" = x; then
4152 REL_ALLOC=${GNU_MALLOC} 4152 REL_ALLOC=${GNU_MALLOC}
4153fi 4153fi
4154 4154
4155 4155in
4156for ac_hdr in stdlib.h unistd.h sys/stat.h 4156for ac_hdr in stdlib.h unistd.h sys/stat.h
4157do 4157do
4158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4158ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
@@ -4413,8 +4413,8 @@ EOF
4413 4413
4414fi 4414fi
4415 4415
4416if test $rel_alloc_mmap = yes; then 4416if test $use_mmap_for_buffers = yes; then
4417 REL_ALLOC=yes 4417 REL_ALLOC=no
4418fi 4418fi
4419 4419
4420LIBS="$libsrc_libs $LIBS" 4420LIBS="$libsrc_libs $LIBS"
@@ -5652,7 +5652,7 @@ else
5652#include "confdefs.h" 5652#include "confdefs.h"
5653#include <alloca.h> 5653#include <alloca.h>
5654int main() { 5654int main() {
5655void *p = alloca(2 * sizeof(int)); 5655char *p = alloca(2 * sizeof(int));
5656; return 0; } 5656; return 0; }
5657EOF 5657EOF
5658if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5658if { (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 @@
12000-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
12000-09-13 Gerd Moellmann <gerd@gnu.org> 302000-09-13 Gerd Moellmann <gerd@gnu.org>
2 31
3 * sound.c (Fplay_sound): Doc fix. 32 * sound.c (Fplay_sound): Doc fix.