summaryrefslogtreecommitdiffstats
path: root/lib/Utils/DebugDump.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-29 16:02:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-29 16:02:13 +0100
commit01057ae36d686d8202547b9ff45bd1635415d13c (patch)
tree64713198e8f973f265f24e807d4c2f4dbe43ec25 /lib/Utils/DebugDump.h
parent78edb404f6a8a4a405cb9b23dabd61e030cc3e1c (diff)
downloadabrt-01057ae36d686d8202547b9ff45bd1635415d13c.tar.gz
abrt-01057ae36d686d8202547b9ff45bd1635415d13c.tar.xz
abrt-01057ae36d686d8202547b9ff45bd1635415d13c.zip
DebugDump: change directory locking code to use symlinks.
closes race window, see https://bugzilla.redhat.com/show_bug.cgi?id=531347 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/DebugDump.h')
-rw-r--r--lib/Utils/DebugDump.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h
index d56ef366..687bac7d 100644
--- a/lib/Utils/DebugDump.h
+++ b/lib/Utils/DebugDump.h
@@ -45,9 +45,9 @@ class CDebugDump
{
private:
std::string m_sDebugDumpDir;
- bool m_bOpened;
DIR* m_pGetNextFileDir;
- int m_nLockfileFD;
+ bool m_bOpened;
+ bool m_bLocked;
void SaveKernelArchitectureRelease();
void SaveTime();