Loading src/backends/file.cpp +3 −2 Changes for src/backends/file.cpp: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ #include <windows.h> #else #include <unistd.h> #include <fcntl.h> #include <sys/file.h> #include <sys/stat.h> #endif Loading Loading @@ -104,9 +105,9 @@ authdb::File::File(const char* path,size_t version,const char *domain){ throw AuthBackendError(err.c_str()); } #else if( (_FileDes=::open(path,O_RDWR)) <0){ if( (_FileDes=open(path,O_RDWR)) <0){ _FileDes=::open(path,O_CREAT|O_RDWR,0660); _FileDes=open(path,O_CREAT|O_RDWR,0660); AuthHeader head; Loading Loading
src/backends/file.cpp +3 −2 Changes for src/backends/file.cpp: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ #include <windows.h> #else #include <unistd.h> #include <fcntl.h> #include <sys/file.h> #include <sys/stat.h> #endif Loading Loading @@ -104,9 +105,9 @@ authdb::File::File(const char* path,size_t version,const char *domain){ throw AuthBackendError(err.c_str()); } #else if( (_FileDes=::open(path,O_RDWR)) <0){ if( (_FileDes=open(path,O_RDWR)) <0){ _FileDes=::open(path,O_CREAT|O_RDWR,0660); _FileDes=open(path,O_CREAT|O_RDWR,0660); AuthHeader head; Loading