BUG FIX: fs_rename throws an error when renaming across file system boundaries
This commit is contained in:
@@ -94,7 +94,9 @@ M._write = function(ctx, on_exit)
|
||||
-- vim.inspect(JOBS_MAP)
|
||||
-- )
|
||||
|
||||
local rename_result, rename_err = _rename(tmpfile, ctx.tags_file)
|
||||
-- LEIGH MOORE
|
||||
-- fs_rename throws an error when renaming across file system boundaries
|
||||
local rename_result, rename_err = uv.fs_copyfile(tmpfile, ctx.tags_file)
|
||||
if rename_result == nil then
|
||||
logger:warn(
|
||||
string.format(
|
||||
|
||||
Reference in New Issue
Block a user