Bug#219386: system() failing when SHELL is empty

Stefano Zacchiroli zack at debian.org
Sun Oct 16 16:42:40 UTC 2005


On Sun, Oct 16, 2005 at 06:40:18PM +0200, Bram Moolenaar wrote:
> Hmm, why would $SHELL be empty?  Sounds quite unusual to me.  Quite a
> few things would break, I suppose.

It happened in the past with some versions of bash.

However, I think the point is rather that if vim already knows that a
dummy value of the SHELL variable wont work (the empty string is just an
example, a string of spaces would be the same I suppose) then it should
reject it and use a sane default. What do you think?

> Anyway, this is already taken care of in Vim 7.  I don't feel like
> making a patch for Vim 6.4 for this.

No need indeed. Does Vim 7 handle as I sketched above the SHELL value?

Thanks,
Cheers.

-- 
Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney




More information about the pkg-vim-maintainers mailing list