HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prefer `message1' over `message'.
[bpt/emacs.git]
/
src
/
sheap.c
diff --git
a/src/sheap.c
b/src/sheap.c
index
249fcc6
..
06e205b
100644
(file)
--- a/
src/sheap.c
+++ b/
src/sheap.c
@@
-1,7
+1,7
@@
/* simulate `sbrk' with an array in .bss, for `unexec' support for Cygwin;
complete rewrite of xemacs Cygwin `unexec' code
/* simulate `sbrk' with an array in .bss, for `unexec' support for Cygwin;
complete rewrite of xemacs Cygwin `unexec' code
- Copyright (C) 2004
, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
+ Copyright (C) 2004
-2013
Free Software Foundation, Inc.
This file is part of GNU Emacs.
This file is part of GNU Emacs.
@@
-20,12
+20,12
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdio.h>
#include <config.h>
#include <stdio.h>
-#include <setjmp.h>
+
#include "lisp.h"
#include <unistd.h>
#include "lisp.h"
#include <unistd.h>
-#define STATIC_HEAP_SIZE (1
2
* 1024 * 1024)
+#define STATIC_HEAP_SIZE (1
3
* 1024 * 1024)
int debug_sheap = 0;
int debug_sheap = 0;
@@
-91,6
+91,5
@@
report_sheap_usage (int die_if_pure_storage_exceeded)
char buf[200];
sprintf (buf, "Static heap usage: %d of %d bytes",
bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE);
char buf[200];
sprintf (buf, "Static heap usage: %d of %d bytes",
bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE);
- message
("%s",
buf);
+ message
1 (
buf);
}
}
-