On Thursday, June 13, 2013 10:15:11 AM UTC-5, Ken Takata wrote:
> Hi Ajit,
> 
> 2013/06/13 Thu 22:59:42 UTC+9 Ajit Thakkar wrote:
> > 32-bit gVim 7.3.1182 (features=normal) on 64-bit Win7+SP1 freezes when I 
> > attempt to edit any file in a directory that is hard linked to another 
> > directory. After killing the process, a second attempt to edit the same 
> > file reveals that a swap file was created. backupcopy is not changed from 
> > its default value in my configuration. 
> > 
> > There are no such problems with 7.3.1181
> 
> I couldn't reproduce it.
> 
>  mkdir foo1
>  echo foo1 > foo1\foo1.txt
>  mkdir foo2
>  mklink /h foo2\foo2.txt foo1\foo1.txt
>  gvim -N -u NONE -U NONE foo1\foo1.txt
>  gvim -N -u NONE -U NONE foo2\foo2.txt
> 
> Is there any detailed procedure to reproduce it?
> 
> Thanks,
> Ken Takata

If I understand correctly, you created and tested with a *file* hard link.

The OP was reporting a problem with a *directory* hard link.

I don't see how that's possible. When I do:

mkdir foo1
mklink /h foo2 foo1
mklink /d /h foo2 foo1

I get an "access denied" error on both mklink commands (while running in an 
elevated command prompt).

If I do

mklink /d foo2 foo1

then it works, but the link created is a symbolic link, not a hard link.

Maybe the OP meant a "junction" (mklink /J)? Or maybe there is a different way 
to create directory hard links?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui