|
Lines 320-325
UnixPrefs()
Link Here
|
| 320 |
|
320 |
|
| 321 |
if (!homeDir) |
321 |
if (!homeDir) |
| 322 |
{ |
322 |
{ |
|
|
323 |
abort(); |
| 323 |
m_saveEnable = false; |
324 |
m_saveEnable = false; |
| 324 |
return; |
325 |
return; |
| 325 |
} |
326 |
} |
|
Lines 335-340
UnixPrefs()
Link Here
|
| 335 |
strcat(m_prefsFilePath, fadir); |
336 |
strcat(m_prefsFilePath, fadir); |
| 336 |
if (!file_exists(m_prefsFilePath)) |
337 |
if (!file_exists(m_prefsFilePath)) |
| 337 |
mkdir(m_prefsFilePath, S_IRWXU); |
338 |
mkdir(m_prefsFilePath, S_IRWXU); |
|
|
339 |
|
| 340 |
setenv("TMPDIR", m_prefsFilePath, 1); |
| 341 |
|
| 338 |
strcat(m_prefsFilePath, suffix); |
342 |
strcat(m_prefsFilePath, suffix); |
| 339 |
|
343 |
|
| 340 |
if (file_exists(old_prefsFilePath)) |
344 |
if (file_exists(old_prefsFilePath)) |