mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-17 14:22:37 -06:00
fixed startup crash in linux
This commit is contained in:
parent
10eba47184
commit
f504315c5d
2 changed files with 6 additions and 1 deletions
|
|
@ -447,7 +447,6 @@ void Ide::SetMethod(const String& m)
|
|||
{
|
||||
method = m;
|
||||
current_builder = GetMethodVars(method).Get("BUILDER", "");
|
||||
TriggerIndexer();
|
||||
}
|
||||
|
||||
void Ide::SelectMethod()
|
||||
|
|
@ -460,6 +459,7 @@ void Ide::SelectMethod()
|
|||
}
|
||||
SyncBuildMode();
|
||||
SetHdependDirs();
|
||||
TriggerIndexer();
|
||||
}
|
||||
|
||||
void Ide::DropModeList()
|
||||
|
|
|
|||
|
|
@ -120,8 +120,13 @@ void AppMain___()
|
|||
{
|
||||
// Set this for storing libclang preamble
|
||||
// TODO CLANG flag?
|
||||
#ifdef PLATFORM_POSIX
|
||||
setenv("TMPDIR", CacheDir(), 1);
|
||||
setenv("TMP", CacheDir(), 1);
|
||||
#else
|
||||
SetEnvironmentVariable("TMPDIR", CacheDir());
|
||||
SetEnvironmentVariable("TMP", CacheDir()); // Looks like libclang ignores TMPDIR
|
||||
#endif
|
||||
// Ctrl::ShowRepaint(50);
|
||||
|
||||
#ifdef flagPEAKMEM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue