From ed2e30ea48760f95b12fb08462ddd1dbc422ed00 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 13 Sep 2008 12:04:49 +0000 Subject: Enable core dumps automatically for dgamelaunch builds (-DDGL_ENABLE_CORE_DUMP) to make it easier to track down crashes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6912 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 4290c5309d..4e4886ead1 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -268,6 +268,11 @@ // an error message. #define DGL_PAUSE_AFTER_ERROR + // Enable core dumps. Note that this will not create core dumps if + // Crawl is installed setuid or setgid, but dgamelaunch installs should + // not be installing Crawl set[ug]id anyway. + #define DGL_ENABLE_CORE_DUMP + // Use UTC for dgamelaunch servers. #define TIME_FN gmtime #endif -- cgit v1.2.3-54-g00ecf