Ken Takata wrote: > If Vim is build by VC10, it can't cd to a symlink of a directory. > > E.g.: > > >md foo > >mklink /d symlink foo > >gvim > :cd symlink > > E344: Can't find directory "symlink" in cdpath > E472: Command failed > > This is caused by a bug(?) of VC10's stat(). VC's stat() behaves as follows: > > VC8 or earlier: stat() doesn't support symlinks at all. It retrieves status > of a symlink itself. > VC10: stat() supports a symlink to a normal file, but it doesn't support a > symlink to a directory. It always returns an error for a symlink to a > directory. > VC11: stat() supports both types of symlinks. It retrieves status of a target. > (I don't know about VC9.) > > Attached patch fixes this problem and makes vim_stat() to behave as the same > as VC11's stat().
Thanks, I'll add it in the todo list. -- hundred-and-one symptoms of being an internet addict: 244. You use more than 20 passwords. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
