Switch to unified view
a/src/utils/pathut.cpp | b/src/utils/pathut.cpp | ||
---|---|---|---|
... |
... |
||
93 | } |
93 | } |
94 | } |
94 | } |
95 | return true; |
95 | return true; |
96 | } |
96 | } |
97 | 97 | ||
98 | static const string& tmplocation()
|
98 | const string& tmplocation() |
99 | { |
99 | { |
100 | static string stmpdir; |
100 | static string stmpdir; |
101 | if (stmpdir.empty()) { |
101 | if (stmpdir.empty()) { |
102 | const char *tmpdir = getenv("RECOLL_TMPDIR"); |
102 | const char *tmpdir = getenv("RECOLL_TMPDIR"); |
103 | if (tmpdir == 0) |
103 | if (tmpdir == 0) |