summaryrefslogtreecommitdiff
path: root/xserver/os/osinit.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
commitd4a0bed4b91da9de86c311c7fef9a8aa9a6f500c (patch)
treea1b439049dee87bc951e190db93f5bbe8b43b0b5 /xserver/os/osinit.c
parentb6bc775539a31f663f9e22ce3ccaf0aa96adf3b6 (diff)
Update to xserver 1.20.5. Tested by jsg@
Diffstat (limited to 'xserver/os/osinit.c')
-rw-r--r--xserver/os/osinit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xserver/os/osinit.c b/xserver/os/osinit.c
index 684ee040a..a8aa8b0bc 100644
--- a/xserver/os/osinit.c
+++ b/xserver/os/osinit.c
@@ -52,6 +52,7 @@ SOFTWARE.
#include <X11/X.h>
#include "os.h"
#include "osdep.h"
+#include "opaque.h"
#include <X11/Xos.h>
#include <signal.h>
#include <errno.h>
@@ -74,8 +75,6 @@ SOFTWARE.
#define ADMPATH "/usr/adm/X%smsgs"
#endif
-extern char *display;
-
#ifdef RLIMIT_DATA
int limitDataSpace = -1;
#endif
@@ -151,6 +150,9 @@ OsSigHandler(int signo)
}
#endif
+ if (signo != SIGQUIT)
+ CoreDump = TRUE;
+
FatalError("Caught signal %d (%s). Server aborting\n",
signo, strsignal(signo));
}