projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(render_strip) Fix bug that sometimes caused joined text in joined
[pspp-builds.git]
/
src
/
alloc.c
diff --git
a/src/alloc.c
b/src/alloc.c
index 763dab3d720ecbf482e94757ca41dad6b621b7bd..267bf2baec09c652807d24cae3a879f128c393c3 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-18,6
+18,7
@@
02111-1307, USA. */
#include <config.h>
02111-1307, USA. */
#include <config.h>
+#include "alloc.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@
-112,11
+113,6
@@
xstrdup (const char *s)
static void
out_of_memory (void)
{
static void
out_of_memory (void)
{
-#if __CHECKER__
- fprintf (stderr, "Out of memory: inducing segfault\n");
- *((int *) 0) = 0;
-#else
fprintf (stderr, "virtual memory exhausted\n");
exit (EXIT_FAILURE);
fprintf (stderr, "virtual memory exhausted\n");
exit (EXIT_FAILURE);
-#endif
}
}