diff options
Diffstat (limited to 'src/Platform/Unix')
-rw-r--r-- | src/Platform/Unix/Directory.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/File.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/FilesystemPath.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Mutex.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Pipe.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Pipe.h | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Poller.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Poller.h | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Process.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Process.h | 2 | ||||
-rw-r--r-- | src/Platform/Unix/SyncEvent.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/SystemException.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/SystemInfo.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/SystemLog.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Thread.cpp | 2 | ||||
-rw-r--r-- | src/Platform/Unix/Time.cpp | 2 |
16 files changed, 16 insertions, 16 deletions
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 @@ -14,9 +14,9 @@ #include "Platform/Directory.h" #include "Platform/Finally.h" #include "Platform/SystemException.h" -namespace TrueCrypt +namespace VeraCrypt { static Mutex ReadDirMutex; // readdir_r() may be unsafe on some systems void Directory::Create (const DirectoryPath &path) 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 @@ -30,9 +30,9 @@ #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 @@ -11,9 +11,9 @@ #include "Platform/StringConverter.h" #include <stdio.h> #include <sys/stat.h> -namespace TrueCrypt +namespace VeraCrypt { void FilesystemPath::Delete () const { throw_sys_sub_if (remove (string (*this).c_str()) == -1, Path); 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 @@ -9,9 +9,9 @@ #include <pthread.h> #include "Platform/Mutex.h" #include "Platform/SystemException.h" -namespace TrueCrypt +namespace VeraCrypt { Mutex::Mutex () { pthread_mutexattr_t attributes; 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 @@ -9,9 +9,9 @@ #include <unistd.h> #include "Pipe.h" #include "Platform/SystemException.h" -namespace TrueCrypt +namespace VeraCrypt { Pipe::Pipe () { int fd[2]; 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 @@ -10,9 +10,9 @@ #define TC_HEADER_Platform_Unix_Pipe #include "Platform/PlatformBase.h" -namespace TrueCrypt +namespace VeraCrypt { class Pipe { public: 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 @@ -10,9 +10,9 @@ #include <unistd.h> #include "Poller.h" #include "Platform/SystemException.h" -namespace TrueCrypt +namespace VeraCrypt { Poller::Poller (int fileDescriptor1, int fileDescriptor2, int fileDescriptor3, int fileDescriptor4) { FileDescriptors.push_back (fileDescriptor1); 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 @@ -10,9 +10,9 @@ #define TC_HEADER_Platform_Unix_Poller #include "Platform/PlatformBase.h" -namespace TrueCrypt +namespace VeraCrypt { class Poller { public: 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 @@ -20,9 +20,9 @@ #include "Platform/StringConverter.h" #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) { char *args[32]; 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 @@ -12,9 +12,9 @@ #include "Platform/PlatformBase.h" #include "Platform/Buffer.h" #include "Platform/Functor.h" -namespace TrueCrypt +namespace VeraCrypt { struct ProcessExecFunctor { virtual ~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 @@ -9,9 +9,9 @@ #include "Platform/Exception.h" #include "Platform/SyncEvent.h" #include "Platform/SystemException.h" -namespace TrueCrypt +namespace VeraCrypt { SyncEvent::SyncEvent () { int status = pthread_cond_init (&SystemSyncEvent, nullptr); 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 @@ -11,9 +11,9 @@ #include "Platform/SerializerFactory.h" #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 @@ -9,9 +9,9 @@ #include "Platform/SystemException.h" #include "Platform/SystemInfo.h" #include <sys/utsname.h> -namespace TrueCrypt +namespace VeraCrypt { wstring SystemInfo::GetPlatformName () { #ifdef TC_LINUX 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 @@ -8,9 +8,9 @@ #include <syslog.h> #include "Platform/SystemLog.h" -namespace TrueCrypt +namespace VeraCrypt { void SystemLog::WriteDebug (const string &debugMessage) { openlog ("veracrypt", LOG_PID, LOG_USER); 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 @@ -11,9 +11,9 @@ #include "Platform/SystemException.h" #include "Platform/Thread.h" #include "Platform/SystemLog.h" -namespace TrueCrypt +namespace VeraCrypt { void Thread::Join () const { int status = pthread_join (SystemHandle, nullptr); 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 @@ -9,9 +9,9 @@ #include "Platform/Time.h" #include <sys/time.h> #include <time.h> -namespace TrueCrypt +namespace VeraCrypt { uint64 Time::GetCurrent () { struct timeval tv; |