> Thanks.  I'll have a good look at it later.  One thing I noticed: you
> don't need to give an error message for running out of memory at this
> level, it's already done at a lower level in alloc().  There it also

That's what I thought, too.  But vim_strsave_shellescape() is
documented to return NULL when out of memory:

src/misc2.c:

    1279  * Returns the result in allocated memory, NULL if we have run out.
    1280  */
    1281     char_u *
    1282 vim_strsave_shellescape(string, do_special)

Cheers,
Jan.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui