ZyX wrote:
> Consider the following script:
>
> mkdir a
> ln -s a b
> vim -u NONE -c 'call writefile([resolve("./b"),resolve("./b/")],
> "t.out")' \
> -c 'qa!'
>
> Expected output: two lines containing «./a» and «./a/» in t.out file
> (according to the help, resolve() keeps trailing path separator).
> Real output: lines «./a» and «./b/» in t.out.
>
> Tested on vim-7.3.102 from Gentoo repos and vim-7.3.119 (mercurial revision
> 77f3dd990b12).
I can reproduce it.
--
"Marriage is when a man and woman become as one; the trouble starts
when they try to decide which one"
/// 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