Commit b262e7a6 authored by jan.koester's avatar jan.koester
Browse files

test

parent d6c718be
Loading
Loading
Loading
Loading
Loading
+0 −4
Changes for src/backends/file.cpp: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -40,10 +40,6 @@

#include "file.h"

namespace authdb {
    std::mutex _fileMutex;
};

authdb::File::File(const char* path,size_t version,const char *domain){
    if( (_FileDes=::open(path,O_RDWR)) <0){

+1 −0
Changes for src/backends/file.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ namespace authdb {
        void newRevesion();
    private:
        std::string  _lockFile;
        std::mutex _fileMutex;
        int              _LockDes;
        int              _FileDes;
    };