Kouhei Sutou
null+****@clear*****
Wed Apr 12 16:43:39 JST 2017
Kouhei Sutou 2017-04-12 16:43:39 +0900 (Wed, 12 Apr 2017) New Revision: cd9c602cd229f82f6c355f6c90185fc671cc8051 https://github.com/groonga/groonga/commit/cd9c602cd229f82f6c355f6c90185fc671cc8051 Message: Add missing file mode Pointed out by Susumu Yata. Thanks!!! Modified files: lib/file_lock.c Modified: lib/file_lock.c (+1 -1) =================================================================== --- lib/file_lock.c 2017-04-12 16:11:53 +0900 (696c3e9) +++ lib/file_lock.c 2017-04-12 16:43:39 +0900 (35d24c7) @@ -73,7 +73,7 @@ grn_file_lock_acquire(grn_ctx *ctx, FILE_ATTRIBUTE_NORMAL, NULL); #else /* WIN32 */ - file_lock->fd = open(file_lock->path, O_CREAT | O_EXCL); + file_lock->fd = open(file_lock->path, O_CREAT | O_EXCL, S_IRWUSR | S_IWUSR); #endif if (!GRN_FILE_LOCK_IS_INVALID(file_lock)) { break; -------------- next part -------------- HTML����������������������������...Download