summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-05 19:18:42 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-05 19:18:42 +0000
commit3ed983c945f2bd6ad7503c969a5506bae41a823b (patch)
treedb6900bba27bdd9f32877c1c77a8198db31241fc
parentb8859b4b60152403058884ee7d28f48d67a418a9 (diff)
SIGQUIT is an optional signal.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@390 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--polyp/xmalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/xmalloc.c b/polyp/xmalloc.c
index 7ddefa94..f2751e52 100644
--- a/polyp/xmalloc.c
+++ b/polyp/xmalloc.c
@@ -45,7 +45,9 @@
static void oom(void) {
static const char e[] = "Not enough memory\n";
pa_loop_write(STDERR_FILENO, e, sizeof(e)-1);
+#ifdef SIGQUIT
raise(SIGQUIT);
+#endif
_exit(1);
}