From 3ed983c945f2bd6ad7503c969a5506bae41a823b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 5 Jan 2006 19:18:42 +0000 Subject: SIGQUIT is an optional signal. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@390 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/xmalloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'polyp/xmalloc.c') 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); } -- cgit