diff options
author | Magnus Ahltorp <map@kth.se> | 2016-06-10 15:36:29 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-07-11 15:11:13 +0200 |
commit | 5ba76d616a2f5924e8ad7fdeb806f5bfa0c82e94 (patch) | |
tree | 83d6f2178edb43c05dacc358e8a07d60e914fc2d /c_src/filebuffer.h | |
parent | 375d3e03b800f1cbfefe8e522132e713f7889236 (diff) |
Lock permdb database files with flock
Diffstat (limited to 'c_src/filebuffer.h')
-rw-r--r-- | c_src/filebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/filebuffer.h b/c_src/filebuffer.h index 05c656e..f24d86a 100644 --- a/c_src/filebuffer.h +++ b/c_src/filebuffer.h @@ -9,7 +9,7 @@ typedef struct buffered_file buffered_file; buffered_file * -bf_open(const char *path, int flags, const char *name); +bf_open(const char *path, int flags, const char *name, int lock); void bf_close(buffered_file *file); void |