VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/Buffer.cpp2
-rw-r--r--src/Platform/Buffer.h2
-rw-r--r--src/Platform/Directory.h2
-rw-r--r--src/Platform/Event.cpp2
-rw-r--r--src/Platform/Event.h2
-rw-r--r--src/Platform/Exception.cpp2
-rw-r--r--src/Platform/Exception.h2
-rw-r--r--src/Platform/File.h2
-rw-r--r--src/Platform/FileCommon.cpp2
-rw-r--r--src/Platform/FileStream.h2
-rw-r--r--src/Platform/FilesystemPath.h2
-rw-r--r--src/Platform/ForEach.h2
-rw-r--r--src/Platform/Functor.h2
-rw-r--r--src/Platform/Memory.cpp2
-rw-r--r--src/Platform/Memory.h2
-rw-r--r--src/Platform/MemoryStream.cpp2
-rw-r--r--src/Platform/MemoryStream.h2
-rw-r--r--src/Platform/Mutex.h2
-rw-r--r--src/Platform/PlatformBase.h2
-rw-r--r--src/Platform/PlatformTest.cpp2
-rw-r--r--src/Platform/PlatformTest.h2
-rw-r--r--src/Platform/Serializable.cpp2
-rw-r--r--src/Platform/Serializable.h2
-rw-r--r--src/Platform/Serializer.cpp2
-rw-r--r--src/Platform/Serializer.h2
-rw-r--r--src/Platform/SerializerFactory.cpp2
-rw-r--r--src/Platform/SerializerFactory.h2
-rw-r--r--src/Platform/SharedPtr.h6
-rw-r--r--src/Platform/SharedVal.h2
-rw-r--r--src/Platform/Stream.h2
-rw-r--r--src/Platform/StringConverter.cpp2
-rw-r--r--src/Platform/StringConverter.h2
-rw-r--r--src/Platform/SyncEvent.h2
-rw-r--r--src/Platform/SystemException.h2
-rw-r--r--src/Platform/SystemInfo.h2
-rw-r--r--src/Platform/SystemLog.h2
-rw-r--r--src/Platform/TextReader.cpp2
-rw-r--r--src/Platform/TextReader.h2
-rw-r--r--src/Platform/Thread.h2
-rw-r--r--src/Platform/Time.h2
-rw-r--r--src/Platform/Unix/Directory.cpp2
-rw-r--r--src/Platform/Unix/File.cpp2
-rw-r--r--src/Platform/Unix/FilesystemPath.cpp2
-rw-r--r--src/Platform/Unix/Mutex.cpp2
-rw-r--r--src/Platform/Unix/Pipe.cpp2
-rw-r--r--src/Platform/Unix/Pipe.h2
-rw-r--r--src/Platform/Unix/Poller.cpp2
-rw-r--r--src/Platform/Unix/Poller.h2
-rw-r--r--src/Platform/Unix/Process.cpp2
-rw-r--r--src/Platform/Unix/Process.h2
-rw-r--r--src/Platform/Unix/SyncEvent.cpp2
-rw-r--r--src/Platform/Unix/SystemException.cpp2
-rw-r--r--src/Platform/Unix/SystemInfo.cpp2
-rw-r--r--src/Platform/Unix/SystemLog.cpp2
-rw-r--r--src/Platform/Unix/Thread.cpp2
-rw-r--r--src/Platform/Unix/Time.cpp2
-rw-r--r--src/Platform/User.h2
57 files changed, 59 insertions, 59 deletions
diff --git a/src/Platform/Buffer.cpp b/src/Platform/Buffer.cpp
index 17dbb7ac..292f4595 100644
--- a/src/Platform/Buffer.cpp
+++ b/src/Platform/Buffer.cpp
@@ -9,7 +9,7 @@
#include "Buffer.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Buffer::Buffer () : DataPtr (nullptr), DataSize (0)
{
diff --git a/src/Platform/Buffer.h b/src/Platform/Buffer.h
index d4972015..24478a66 100644
--- a/src/Platform/Buffer.h
+++ b/src/Platform/Buffer.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Memory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class ConstBufferPtr
diff --git a/src/Platform/Directory.h b/src/Platform/Directory.h
index b2eb8027..fc2938a0 100644
--- a/src/Platform/Directory.h
+++ b/src/Platform/Directory.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "FilesystemPath.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Directory
{
diff --git a/src/Platform/Event.cpp b/src/Platform/Event.cpp
index 662ca478..b2ea3585 100644
--- a/src/Platform/Event.cpp
+++ b/src/Platform/Event.cpp
@@ -8,7 +8,7 @@
#include "Event.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Event::Connect (const EventConnectorBase &connector)
{
diff --git a/src/Platform/Event.h b/src/Platform/Event.h
index de85a4bc..fcc16ef5 100644
--- a/src/Platform/Event.h
+++ b/src/Platform/Event.h
@@ -14,7 +14,7 @@
#include "Mutex.h"
#include "SharedPtr.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct EventArgs
{
diff --git a/src/Platform/Exception.cpp b/src/Platform/Exception.cpp
index 13b09ac9..7d323111 100644
--- a/src/Platform/Exception.cpp
+++ b/src/Platform/Exception.cpp
@@ -9,7 +9,7 @@
#include "Exception.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Exception::Deserialize (shared_ptr <Stream> stream)
{
diff --git a/src/Platform/Exception.h b/src/Platform/Exception.h
index 8e52b454..19d6523e 100644
--- a/src/Platform/Exception.h
+++ b/src/Platform/Exception.h
@@ -13,7 +13,7 @@
#include "PlatformBase.h"
#include "Serializable.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
#define TC_SERIALIZABLE_EXCEPTION(TYPE) TC_SERIALIZABLE (TYPE); \
virtual Exception *CloneNew () { return new TYPE (*this); } \
diff --git a/src/Platform/File.h b/src/Platform/File.h
index ef9a5c87..6fba968c 100644
--- a/src/Platform/File.h
+++ b/src/Platform/File.h
@@ -14,7 +14,7 @@
#include "FilesystemPath.h"
#include "SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class File
{
diff --git a/src/Platform/FileCommon.cpp b/src/Platform/FileCommon.cpp
index d76e5c19..e63e55c7 100644
--- a/src/Platform/FileCommon.cpp
+++ b/src/Platform/FileCommon.cpp
@@ -14,7 +14,7 @@
#include <utime.h>
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
File::~File ()
{
diff --git a/src/Platform/FileStream.h b/src/Platform/FileStream.h
index 1fe6b2ff..7770dd77 100644
--- a/src/Platform/FileStream.h
+++ b/src/Platform/FileStream.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class FileStream : public Stream
{
diff --git a/src/Platform/FilesystemPath.h b/src/Platform/FilesystemPath.h
index 2c85d2ce..24ed5dd3 100644
--- a/src/Platform/FilesystemPath.h
+++ b/src/Platform/FilesystemPath.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct FilesystemPathType
{
diff --git a/src/Platform/ForEach.h b/src/Platform/ForEach.h
index 786ff56b..209d277e 100644
--- a/src/Platform/ForEach.h
+++ b/src/Platform/ForEach.h
@@ -9,7 +9,7 @@
#ifndef TC_HEADER_Platform_ForEach
#define TC_HEADER_Platform_ForEach
-namespace TrueCrypt
+namespace VeraCrypt
{
class ForEach
{
diff --git a/src/Platform/Functor.h b/src/Platform/Functor.h
index 6840b3a1..65d8d74c 100644
--- a/src/Platform/Functor.h
+++ b/src/Platform/Functor.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct Functor
{
diff --git a/src/Platform/Memory.cpp b/src/Platform/Memory.cpp
index 3a032467..c75c18cd 100644
--- a/src/Platform/Memory.cpp
+++ b/src/Platform/Memory.cpp
@@ -10,7 +10,7 @@
#include "Memory.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void *Memory::Allocate (std::size_t size)
{
diff --git a/src/Platform/Memory.h b/src/Platform/Memory.h
index 3a17ba7b..053a138d 100644
--- a/src/Platform/Memory.h
+++ b/src/Platform/Memory.h
@@ -63,7 +63,7 @@
# error Unsupported byte ordering detected.
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
class Memory
{
diff --git a/src/Platform/MemoryStream.cpp b/src/Platform/MemoryStream.cpp
index 42d38427..0aba4ab5 100644
--- a/src/Platform/MemoryStream.cpp
+++ b/src/Platform/MemoryStream.cpp
@@ -9,7 +9,7 @@
#include "Exception.h"
#include "MemoryStream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
MemoryStream::MemoryStream (const ConstBufferPtr &data) :
ReadPosition (0)
diff --git a/src/Platform/MemoryStream.h b/src/Platform/MemoryStream.h
index 30e26400..61b8acfb 100644
--- a/src/Platform/MemoryStream.h
+++ b/src/Platform/MemoryStream.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class MemoryStream : public Stream
{
diff --git a/src/Platform/Mutex.h b/src/Platform/Mutex.h
index bdeef260..c2bf146e 100644
--- a/src/Platform/Mutex.h
+++ b/src/Platform/Mutex.h
@@ -16,7 +16,7 @@
#endif
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Mutex
{
diff --git a/src/Platform/PlatformBase.h b/src/Platform/PlatformBase.h
index c63f975e..ea1271f7 100644
--- a/src/Platform/PlatformBase.h
+++ b/src/Platform/PlatformBase.h
@@ -31,7 +31,7 @@ using namespace std;
#define nullptr 0
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
#ifdef _MSC_VER
# ifndef TC_INT_TYPES_DEFINED
diff --git a/src/Platform/PlatformTest.cpp b/src/Platform/PlatformTest.cpp
index 83febe4f..a541c143 100644
--- a/src/Platform/PlatformTest.cpp
+++ b/src/Platform/PlatformTest.cpp
@@ -20,7 +20,7 @@
#include "Thread.h"
#include "Common/Tcdefs.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
// make_shared_auto, File, Stream, MemoryStream, Endian, Serializer, Serializable
void PlatformTest::SerializerTest ()
diff --git a/src/Platform/PlatformTest.h b/src/Platform/PlatformTest.h
index 9ca842e5..01b56e07 100644
--- a/src/Platform/PlatformTest.h
+++ b/src/Platform/PlatformTest.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Thread.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class PlatformTest
{
diff --git a/src/Platform/Serializable.cpp b/src/Platform/Serializable.cpp
index 8e3ef582..7a19b811 100644
--- a/src/Platform/Serializable.cpp
+++ b/src/Platform/Serializable.cpp
@@ -9,7 +9,7 @@
#include "Serializable.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
string Serializable::DeserializeHeader (shared_ptr <Stream> stream)
{
diff --git a/src/Platform/Serializable.h b/src/Platform/Serializable.h
index 50787547..06d7a761 100644
--- a/src/Platform/Serializable.h
+++ b/src/Platform/Serializable.h
@@ -15,7 +15,7 @@
#include "Serializer.h"
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializable
{
diff --git a/src/Platform/Serializer.cpp b/src/Platform/Serializer.cpp
index cd41b3c1..96c04ca3 100644
--- a/src/Platform/Serializer.cpp
+++ b/src/Platform/Serializer.cpp
@@ -11,7 +11,7 @@
#include "Memory.h"
#include "Serializer.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
template <typename T>
T Serializer::Deserialize ()
diff --git a/src/Platform/Serializer.h b/src/Platform/Serializer.h
index 71521341..3ede04ec 100644
--- a/src/Platform/Serializer.h
+++ b/src/Platform/Serializer.h
@@ -14,7 +14,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializer
{
diff --git a/src/Platform/SerializerFactory.cpp b/src/Platform/SerializerFactory.cpp
index 1aae92d5..3174c389 100644
--- a/src/Platform/SerializerFactory.cpp
+++ b/src/Platform/SerializerFactory.cpp
@@ -9,7 +9,7 @@
#include <stdexcept>
#include "SerializerFactory.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void SerializerFactory::Deinitialize ()
{
diff --git a/src/Platform/SerializerFactory.h b/src/Platform/SerializerFactory.h
index bad68d34..a04565b4 100644
--- a/src/Platform/SerializerFactory.h
+++ b/src/Platform/SerializerFactory.h
@@ -13,7 +13,7 @@
#include "PlatformBase.h"
#include "StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Serializable;
diff --git a/src/Platform/SharedPtr.h b/src/Platform/SharedPtr.h
index 3221265d..64e2909a 100644
--- a/src/Platform/SharedPtr.h
+++ b/src/Platform/SharedPtr.h
@@ -14,7 +14,7 @@
#ifdef nullptr
-namespace TrueCrypt
+namespace VeraCrypt
{
template <class T>
class SharedPtr
@@ -135,7 +135,7 @@ namespace TrueCrypt
#ifdef shared_ptr
#undef shared_ptr
#endif
-#define shared_ptr TrueCrypt::SharedPtr
+#define shared_ptr VeraCrypt::SharedPtr
#ifdef make_shared
#undef make_shared
@@ -151,7 +151,7 @@ namespace TrueCrypt
return shared_ptr <T> (new T (arg));
}
-#define make_shared TrueCrypt::make_shared
+#define make_shared VeraCrypt::make_shared
}
diff --git a/src/Platform/SharedVal.h b/src/Platform/SharedVal.h
index 64298f0d..89b2a3e6 100644
--- a/src/Platform/SharedVal.h
+++ b/src/Platform/SharedVal.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
template <class T>
class SharedVal
diff --git a/src/Platform/Stream.h b/src/Platform/Stream.h
index 338d0f51..f2d46d93 100644
--- a/src/Platform/Stream.h
+++ b/src/Platform/Stream.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Buffer.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Stream
{
diff --git a/src/Platform/StringConverter.cpp b/src/Platform/StringConverter.cpp
index 164a218e..cbd89e1f 100644
--- a/src/Platform/StringConverter.cpp
+++ b/src/Platform/StringConverter.cpp
@@ -17,7 +17,7 @@
#include "StringConverter.h"
#include "SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void StringConverter::Erase (string &str)
{
diff --git a/src/Platform/StringConverter.h b/src/Platform/StringConverter.h
index 51047784..9a9e098f 100644
--- a/src/Platform/StringConverter.h
+++ b/src/Platform/StringConverter.h
@@ -12,7 +12,7 @@
#include <stdlib.h>
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class StringConverter
{
diff --git a/src/Platform/SyncEvent.h b/src/Platform/SyncEvent.h
index 30dcd419..e7a78909 100644
--- a/src/Platform/SyncEvent.h
+++ b/src/Platform/SyncEvent.h
@@ -17,7 +17,7 @@
#include "PlatformBase.h"
#include "Mutex.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SyncEvent
{
diff --git a/src/Platform/SystemException.h b/src/Platform/SystemException.h
index 630703b1..4a1dc2d1 100644
--- a/src/Platform/SystemException.h
+++ b/src/Platform/SystemException.h
@@ -12,7 +12,7 @@
#include "PlatformBase.h"
#include "Exception.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemException : public Exception
{
diff --git a/src/Platform/SystemInfo.h b/src/Platform/SystemInfo.h
index e70137a9..83f55fef 100644
--- a/src/Platform/SystemInfo.h
+++ b/src/Platform/SystemInfo.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemInfo
{
diff --git a/src/Platform/SystemLog.h b/src/Platform/SystemLog.h
index 06d45367..3b729395 100644
--- a/src/Platform/SystemLog.h
+++ b/src/Platform/SystemLog.h
@@ -12,7 +12,7 @@
#include "Platform/PlatformBase.h"
#include "Platform/StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class SystemLog
{
diff --git a/src/Platform/TextReader.cpp b/src/Platform/TextReader.cpp
index cc55db1b..2606d1d5 100644
--- a/src/Platform/TextReader.cpp
+++ b/src/Platform/TextReader.cpp
@@ -8,7 +8,7 @@
#include "TextReader.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
TextReader::TextReader (const FilePath &path)
{
diff --git a/src/Platform/TextReader.h b/src/Platform/TextReader.h
index a537907d..9aad217a 100644
--- a/src/Platform/TextReader.h
+++ b/src/Platform/TextReader.h
@@ -15,7 +15,7 @@
#include "SharedPtr.h"
#include "Stream.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class TextReader
{
diff --git a/src/Platform/Thread.h b/src/Platform/Thread.h
index 122d9344..5d570d64 100644
--- a/src/Platform/Thread.h
+++ b/src/Platform/Thread.h
@@ -21,7 +21,7 @@
#include "SharedPtr.h"
#include "SyncEvent.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Thread
{
diff --git a/src/Platform/Time.h b/src/Platform/Time.h
index 2a17f9ea..ca5d2540 100644
--- a/src/Platform/Time.h
+++ b/src/Platform/Time.h
@@ -11,7 +11,7 @@
#include "PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Time
{
diff --git a/src/Platform/Unix/Directory.cpp b/src/Platform/Unix/Directory.cpp
index 0a0088a2..163a8173 100644
--- a/src/Platform/Unix/Directory.cpp
+++ b/src/Platform/Unix/Directory.cpp
@@ -15,7 +15,7 @@
#include "Platform/Finally.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
static Mutex ReadDirMutex; // readdir_r() may be unsafe on some systems
diff --git a/src/Platform/Unix/File.cpp b/src/Platform/Unix/File.cpp
index fd64eb2a..25475bb0 100644
--- a/src/Platform/Unix/File.cpp
+++ b/src/Platform/Unix/File.cpp
@@ -31,7 +31,7 @@
#include "Platform/File.h"
#include "Platform/TextReader.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
#if 0
# define TC_TRACE_FILE_OPERATIONS
diff --git a/src/Platform/Unix/FilesystemPath.cpp b/src/Platform/Unix/FilesystemPath.cpp
index ef52fe8a..66ae3dbb 100644
--- a/src/Platform/Unix/FilesystemPath.cpp
+++ b/src/Platform/Unix/FilesystemPath.cpp
@@ -12,7 +12,7 @@
#include <stdio.h>
#include <sys/stat.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
void FilesystemPath::Delete () const
{
diff --git a/src/Platform/Unix/Mutex.cpp b/src/Platform/Unix/Mutex.cpp
index aae5d78d..336dce3e 100644
--- a/src/Platform/Unix/Mutex.cpp
+++ b/src/Platform/Unix/Mutex.cpp
@@ -10,7 +10,7 @@
#include "Platform/Mutex.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Mutex::Mutex ()
{
diff --git a/src/Platform/Unix/Pipe.cpp b/src/Platform/Unix/Pipe.cpp
index d3465408..76d784b3 100644
--- a/src/Platform/Unix/Pipe.cpp
+++ b/src/Platform/Unix/Pipe.cpp
@@ -10,7 +10,7 @@
#include "Pipe.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Pipe::Pipe ()
{
diff --git a/src/Platform/Unix/Pipe.h b/src/Platform/Unix/Pipe.h
index 9aa5bf9e..198d3240 100644
--- a/src/Platform/Unix/Pipe.h
+++ b/src/Platform/Unix/Pipe.h
@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Pipe
{
diff --git a/src/Platform/Unix/Poller.cpp b/src/Platform/Unix/Poller.cpp
index 3950eab0..3e823633 100644
--- a/src/Platform/Unix/Poller.cpp
+++ b/src/Platform/Unix/Poller.cpp
@@ -11,7 +11,7 @@
#include "Poller.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
Poller::Poller (int fileDescriptor1, int fileDescriptor2, int fileDescriptor3, int fileDescriptor4)
{
diff --git a/src/Platform/Unix/Poller.h b/src/Platform/Unix/Poller.h
index 131e469f..445e9280 100644
--- a/src/Platform/Unix/Poller.h
+++ b/src/Platform/Unix/Poller.h
@@ -11,7 +11,7 @@
#include "Platform/PlatformBase.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
class Poller
{
diff --git a/src/Platform/Unix/Process.cpp b/src/Platform/Unix/Process.cpp
index d99dff87..c82461ea 100644
--- a/src/Platform/Unix/Process.cpp
+++ b/src/Platform/Unix/Process.cpp
@@ -21,7 +21,7 @@
#include "Platform/Unix/Pipe.h"
#include "Platform/Unix/Poller.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
string Process::Execute (const string &processName, const list <string> &arguments, int timeOut, ProcessExecFunctor *execFunctor, const Buffer *inputData)
{
diff --git a/src/Platform/Unix/Process.h b/src/Platform/Unix/Process.h
index dd878ddd..77d4d4e0 100644
--- a/src/Platform/Unix/Process.h
+++ b/src/Platform/Unix/Process.h
@@ -13,7 +13,7 @@
#include "Platform/Buffer.h"
#include "Platform/Functor.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
struct ProcessExecFunctor
{
diff --git a/src/Platform/Unix/SyncEvent.cpp b/src/Platform/Unix/SyncEvent.cpp
index fbf8300f..d58240e8 100644
--- a/src/Platform/Unix/SyncEvent.cpp
+++ b/src/Platform/Unix/SyncEvent.cpp
@@ -10,7 +10,7 @@
#include "Platform/SyncEvent.h"
#include "Platform/SystemException.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
SyncEvent::SyncEvent ()
{
diff --git a/src/Platform/Unix/SystemException.cpp b/src/Platform/Unix/SystemException.cpp
index b29c9b50..7348914e 100644
--- a/src/Platform/Unix/SystemException.cpp
+++ b/src/Platform/Unix/SystemException.cpp
@@ -12,7 +12,7 @@
#include "Platform/SystemException.h"
#include "Platform/StringConverter.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
SystemException::SystemException ()
: ErrorCode (errno)
diff --git a/src/Platform/Unix/SystemInfo.cpp b/src/Platform/Unix/SystemInfo.cpp
index d0ea6e61..41f6144d 100644
--- a/src/Platform/Unix/SystemInfo.cpp
+++ b/src/Platform/Unix/SystemInfo.cpp
@@ -10,7 +10,7 @@
#include "Platform/SystemInfo.h"
#include <sys/utsname.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
wstring SystemInfo::GetPlatformName ()
{
diff --git a/src/Platform/Unix/SystemLog.cpp b/src/Platform/Unix/SystemLog.cpp
index ee0e990d..e5988122 100644
--- a/src/Platform/Unix/SystemLog.cpp
+++ b/src/Platform/Unix/SystemLog.cpp
@@ -9,7 +9,7 @@
#include <syslog.h>
#include "Platform/SystemLog.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void SystemLog::WriteDebug (const string &debugMessage)
{
diff --git a/src/Platform/Unix/Thread.cpp b/src/Platform/Unix/Thread.cpp
index 7afe6832..c2167432 100644
--- a/src/Platform/Unix/Thread.cpp
+++ b/src/Platform/Unix/Thread.cpp
@@ -12,7 +12,7 @@
#include "Platform/Thread.h"
#include "Platform/SystemLog.h"
-namespace TrueCrypt
+namespace VeraCrypt
{
void Thread::Join () const
{
diff --git a/src/Platform/Unix/Time.cpp b/src/Platform/Unix/Time.cpp
index 01313d53..d4720c6c 100644
--- a/src/Platform/Unix/Time.cpp
+++ b/src/Platform/Unix/Time.cpp
@@ -10,7 +10,7 @@
#include <sys/time.h>
#include <time.h>
-namespace TrueCrypt
+namespace VeraCrypt
{
uint64 Time::GetCurrent ()
{
diff --git a/src/Platform/User.h b/src/Platform/User.h
index d3aa9766..8b983ccd 100644
--- a/src/Platform/User.h
+++ b/src/Platform/User.h
@@ -16,7 +16,7 @@
#include <sys/types.h>
#endif
-namespace TrueCrypt
+namespace VeraCrypt
{
struct UserId
{