Commit: 7929d9e06f14b340c91bdde8601f2f09cf4d3b9f Author: Bastien Montagne Date: Tue Jan 17 17:08:27 2023 +0100 Branches: tmp-flock https://developer.blender.org/rB7929d9e06f14b340c91bdde8601f2f09cf4d3b9f
BLI_fileops flock: More fixes. =================================================================== M source/blender/blenlib/intern/fileops.c =================================================================== diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index 40dfd1b656b..e7b48f53555 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -321,7 +321,7 @@ bool BLI_flock_exclusive(const int file_descriptor, const bool is_blocking) bool BLI_flock_release(const int file_descriptor) { OVERLAPPED overlapp_info = {0}; - return UnlockFile(file_descriptor, 0, 0, MAX_INT, MAX_INT); + return UnlockFile(file_descriptor, 0, 0, INT_MAX, INT_MAX); } static bool delete_soft(const wchar_t *path_16, const char **error_message) _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs