|
Lines 301-306
UnixPrefs::UnixPrefs() :
Link Here
|
| 301 |
|
301 |
|
| 302 |
if (!homeDir) |
302 |
if (!homeDir) |
| 303 |
{ |
303 |
{ |
|
|
304 |
abort(); |
| 304 |
m_saveEnable = false; |
305 |
m_saveEnable = false; |
| 305 |
return; |
306 |
return; |
| 306 |
} |
307 |
} |
|
Lines 316-321
UnixPrefs::UnixPrefs() :
Link Here
|
| 316 |
strcat(m_prefsFilePath, fadir); |
317 |
strcat(m_prefsFilePath, fadir); |
| 317 |
if (!file_exists(m_prefsFilePath)) |
318 |
if (!file_exists(m_prefsFilePath)) |
| 318 |
mkdir(m_prefsFilePath, S_IRWXU); |
319 |
mkdir(m_prefsFilePath, S_IRWXU); |
|
|
320 |
|
| 321 |
setenv("TMPDIR", m_prefsFilePath, 1); |
| 322 |
|
| 319 |
strcat(m_prefsFilePath, suffix); |
323 |
strcat(m_prefsFilePath, suffix); |
| 320 |
|
324 |
|
| 321 |
if (file_exists(old_prefsFilePath)) |
325 |
if (file_exists(old_prefsFilePath)) |