Fabian Greffrath wrote:

> Am 06.06.2011 14:22, schrieb Fabian Greffrath:
> > However, since vim starts without crashing when HOME is unset and
> > sh.exe is *absent*, I think it's not an issue in vim.exe itself, but
> > maybe in the way it invokes the shell. The sh.exe I just copied over
> > from MSYS starts just fine even if HOME is unset...
> 
> With both PATH and HOME unset, the shell seems to choke on the 
> following command:
> 
>   call_shell (unset nonomatch; vimglob() { while [ $# -ge 1 ]; do echo 
> "$1"; shift; done }; vimglob >/tmp/v368869/0 ~/.vim/plugin/**/*.vim, 18)
> 
> which it is given in os_unix.c:5597.

This tries to expand a file pattern starting with "~/", which won't work
when $HOME isn't set.  However, it should not crash.

You say the shell chokes on the command, but how does that make Vim
crash?

-- 
Drink wet cement and get really stoned.

 /// 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

Raspunde prin e-mail lui