#3885: exception dumping doesn't respect any of TMP/TMPDIR/TEMP/TEMPDIR
--------------------+------------------------------------
Reporter: pabs | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: other | Version: 3.1.0
Keywords: | Operating System: GNU/Linux 64bit
--------------------+------------------------------------
The exception handler hard-codes /tmp/ instead of using the
TMP/TMPDIR/TEMP/TEMPDIR environment variables. mkstemp already respects
these variables so all that is needed is to drop the {{{/tmp/}}} from this
string. Personally I think ~/.warzone-3.1/crash-dumps/XXXXXX is a better
place for these files.
{{{
lib/exceptionhandler/exceptionhandler.cpp:
static const char gdmpPath[] = "/tmp/warzone2100.gdmp-XXXXXX";
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/3885>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project