On 30 August 2013, Charles Cooper <sabl...@gmail.com> wrote:
> Hello.
> 
> > > > >>   :call expand('a', 'p', 0700)
> > > > (gdb) set args -u NONE -U NONE +'call mkdir(expand("abc", "p", 0700))'
> 
> The example reads --> call mkdir(expand("abc",  "p", 0700))
> but should it be  --> call mkdir(expand("abc"), "p", 0700)
> 
> expand("abc","p", 0700) is not a correct use of expand, is it?

    From the initial bug report:

On 27 August 2013, Manpreet Singh <manpreet.si...@gmail.com> wrote:
[...]
> Encountered when I had incorrect parentheses in a mkdir(expand...) call.
[...]

    expand("abc", "p", 0700) evaluates to a list, and the bug was that
mkdir(list) in Vim pre-7.4.010 used to crash.

    /lcd

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui