Lcd wrote:

> On 17 January 2016, Bram Moolenaar <[email protected]> wrote:
> > 
> > Patch 7.4.1114 (after 7.4.1107)
> > Problem:    delete() does not work well with symbolic links.
> > Solution:   Recognize symbolik links.
> > Files:      src/eval.c, src/fileio.c, src/os_unix.c, src/proto/os_unix.pro,
> >             src/testdir/test_delete.vim, runtime/doc/eval.txt
> [...]
> 
>     This patch fixes the problem with following symlinks to directories,
> but the return value is still -1 even when the operation succeeds:
> 
>         :echo mkdir('a/b/c', 'p')
>         1
>         :echo delete('a', 'rf')
>         -1

This happens because the "c" directory is empty.  Finding files there
fails.  I'll fix that.

-- 
Sometimes you can protect millions of dollars in your budget simply by buying
a bag of cookies, dropping it on the budget anylyst's desk, and saying
something deeply personal such as "How was your weekend, big guy?"
                                (Scott Adams - The Dilbert principle)

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

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