You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create new move-file utility function. It would try calling rename-file, and if it fails with Invalid cross-device link error, i.e. EXDEV syscall errno, it should call a copy-file function instead.
As part of this issue, we should also update gerbil codebase to use new move-file function to prevent errors in some edgecases.
This is the result of the investigation in issue #1277.
Short summary:
While looking at gxtags implementation of the vi format, I found that rename-file call fails with "Invalid cross-device link" error on my system, because I have /tmp mounted as a different file system. Such cases specifically are not supported by rename syscall, which as far as we can tell is used intenally by the gambit's ##rename-file implementation.
The text was updated successfully, but these errors were encountered:
Create new
move-file
utility function. It would try callingrename-file
, and if it fails withInvalid cross-device link
error, i.e. EXDEV syscall errno, it should call acopy-file
function instead.As part of this issue, we should also update gerbil codebase to use new
move-file
function to prevent errors in some edgecases.This is the result of the investigation in issue #1277.
Short summary:
While looking at gxtags implementation of the vi format, I found that
rename-file
call fails with "Invalid cross-device link" error on my system, because I have/tmp
mounted as a different file system. Such cases specifically are not supported byrename
syscall, which as far as we can tell is used intenally by the gambit's##rename-file
implementation.The text was updated successfully, but these errors were encountered: