diff options
author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-12 17:58:20 +0100 |
---|---|---|
committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-12 17:58:20 +0100 |
commit | a7d954d98109ecb09c7440f5bba7deca3e4c538b (patch) | |
tree | 39bea2139ddaad26dc72dfd88f38e16bd9657925 /lib/Utils/DebugDump.h | |
parent | ad3b6d23b32a1008c02bcc08609966d54e6224e4 (diff) | |
download | abrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.tar.gz abrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.tar.xz abrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.zip |
fixed lock functionality
Diffstat (limited to 'lib/Utils/DebugDump.h')
-rw-r--r-- | lib/Utils/DebugDump.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h index 1217136e..a6bb0511 100644 --- a/lib/Utils/DebugDump.h +++ b/lib/Utils/DebugDump.h @@ -43,8 +43,9 @@ class CDebugDump { private: std::string m_sDebugDumpDir; - int m_nFD; + bool m_bLockCreated; + void SaveEnvironment(); void SaveTime(); @@ -55,6 +56,9 @@ class CDebugDump void SaveBinaryFile(const std::string& pName, const char* pData, const unsigned int pSize); bool ExistFileDir(const std::string& pPath); + void Lock(); + void UnLock(); + public: CDebugDump(); |