aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2006-10-14 18:40:58 +0000
committerKaroly Lorentey2006-10-14 18:40:58 +0000
commit5665a02fd1d009506f246d5f77896e3995127954 (patch)
tree08c2fb58aa103aa0f49a7b365ecc85a03a6f0d8b
parent12b6af5c7ed2cfdb9783312bf890cf1e6c80c67a (diff)
downloademacs-5665a02fd1d009506f246d5f77896e3995127954.tar.gz
emacs-5665a02fd1d009506f246d5f77896e3995127954.zip
Fix obvious runtime errors after merge.
* lisp/term/x-win.el (x-initialize-window-system): Make a copy of pure list. * src/puresize.h (BASE_PURESIZE): Increase puresize. * src/alloc.c (emacs_blocked_malloc): Disable mallopt call. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-583
-rw-r--r--lisp/term/x-win.el7
-rw-r--r--src/alloc.c3
-rw-r--r--src/puresize.h2
3 files changed, 7 insertions, 5 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 967d9918b59..aba5c6d1e4c 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -2524,9 +2524,10 @@ order until succeed.")
2524 2524
2525 ;; Override Paste so it looks at CLIPBOARD first. 2525 ;; Override Paste so it looks at CLIPBOARD first.
2526 (define-key menu-bar-edit-menu [paste] 2526 (define-key menu-bar-edit-menu [paste]
2527 '(menu-item "Paste" x-clipboard-yank 2527 (append '(menu-item "Paste" x-clipboard-yank
2528 :enable (not buffer-read-only) 2528 :enable (not buffer-read-only)
2529 :help "Paste (yank) text most recently cut/copied")) 2529 :help "Paste (yank) text most recently cut/copied")
2530 nil))
2530 2531
2531 (setq x-initialized t)) 2532 (setq x-initialized t))
2532 2533
diff --git a/src/alloc.c b/src/alloc.c
index 5cfcda2e1e0..2f186fd3d12 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1238,7 +1238,8 @@ emacs_blocked_malloc (size, ptr)
1238 BLOCK_INPUT_ALLOC; 1238 BLOCK_INPUT_ALLOC;
1239 __malloc_hook = old_malloc_hook; 1239 __malloc_hook = old_malloc_hook;
1240#ifdef DOUG_LEA_MALLOC 1240#ifdef DOUG_LEA_MALLOC
1241 mallopt (M_TOP_PAD, malloc_hysteresis * 4096); 1241 /* Segfaults on my system. --lorentey */
1242 /* mallopt (M_TOP_PAD, malloc_hysteresis * 4096); */
1242#else 1243#else
1243 __malloc_extra_blocks = malloc_hysteresis; 1244 __malloc_extra_blocks = malloc_hysteresis;
1244#endif 1245#endif
diff --git a/src/puresize.h b/src/puresize.h
index d5a33e3cda5..bd8d74f4df6 100644
--- a/src/puresize.h
+++ b/src/puresize.h
@@ -43,7 +43,7 @@ Boston, MA 02110-1301, USA. */
43#endif 43#endif
44 44
45#ifndef BASE_PURESIZE 45#ifndef BASE_PURESIZE
46#define BASE_PURESIZE (1130000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA) 46#define BASE_PURESIZE (1140000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
47#endif 47#endif
48 48
49/* Increase BASE_PURESIZE by a ratio depending on the machine's word size. */ 49/* Increase BASE_PURESIZE by a ratio depending on the machine's word size. */