Charles Campbell wrote:
> T
> Well, its lunchtime -- and I've done it -- and it appears to be a vim
> problem. Netrw is in fact calling vim's rename() function; but with
> full paths.
>
> :call rename("..fullpath../1.pdf","..fullpath../1.PDF")
>
> causes the 1.pdf file to be removed.
>
Further... I suspect its vim_rename()'s problem (internal, fileio.c).
The code removes the "to" file prior to moving the "from" file.
For the Amiga, it locks the "from" file first (and later unlocks it) to
prevent just this sort of problem -- but there is no such protection
using linux to rename a fat32-mounted file.
Regards,
Chip Campbell
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---