mirror of https://gitee.com/bigwinds/arangodb
added create
This commit is contained in:
parent
953fa86f45
commit
a584fa0c5c
|
@ -585,7 +585,7 @@ int TRI_CreateLockFile (char const* filename) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
fd = TRI_OPEN(filename, O_CREAT | O_EXCL | O_RDWR);
|
||||
fd = TRI_CERATE(filename, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR);
|
||||
|
||||
if (fd == -1) {
|
||||
TRI_set_errno(TRI_ERROR_OPEN_ERROR);
|
||||
|
|
Loading…
Reference in New Issue