Scenario:

(1) umask 0177
(2) run Vim
(3) in Vim run system(), say:

        :echo system('ls')

    On Linux machines the result is:

        E484: Can't open file /tmp/viEkD0f/2

    It's easy to see why:

        $ ls -ld /tmp/viEkD0f
        drw------- 2 1034 1023 40 Jun  4 13:32 /tmp/viEkD0f/

    The code has provisions to deal with this situation, but only on
systems that don't have mkdtemp(3).  Glibc has mkdtemp(3).

    /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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui