|
a/src/utils/pathut.h |
|
b/src/utils/pathut.h |
|
... |
|
... |
99 |
bool ok() {return !m_dirname.empty();}
|
99 |
bool ok() {return !m_dirname.empty();}
|
100 |
bool wipe();
|
100 |
bool wipe();
|
101 |
private:
|
101 |
private:
|
102 |
string m_dirname;
|
102 |
string m_dirname;
|
103 |
string m_reason;
|
103 |
string m_reason;
|
|
|
104 |
TempDir(const TempDir &) {}
|
|
|
105 |
TempDir& operator=(const TempDir &) {return *this;};
|
104 |
};
|
106 |
};
|
105 |
|
107 |
|
106 |
/// Lock/pid file class. This is quite close to the pidfile_xxx
|
108 |
/// Lock/pid file class. This is quite close to the pidfile_xxx
|
107 |
/// utilities in FreeBSD with a bit more encapsulation. I'd have used
|
109 |
/// utilities in FreeBSD with a bit more encapsulation. I'd have used
|
108 |
/// the freebsd code if it was available elsewhere
|
110 |
/// the freebsd code if it was available elsewhere
|