Patch 7.4.1991
Problem:    glob() does not add a symbolic link when there are no wildcards.
Solution:   Remove the call to mch_getperm().
Files:      src/misc1.c


*** ../vim-7.4.1990/src/misc1.c 2016-07-01 18:16:47.493936250 +0200
--- src/misc1.c 2016-07-07 14:16:10.101377163 +0200
***************
*** 10864,10870 ****
             * "vim c:/" work. */
            if (flags & EW_NOTFOUND)
                addfile(&ga, t, flags | EW_DIR | EW_FILE);
!           else if (mch_getperm(t) >= 0)
                addfile(&ga, t, flags);
            vim_free(t);
        }
--- 10864,10870 ----
             * "vim c:/" work. */
            if (flags & EW_NOTFOUND)
                addfile(&ga, t, flags | EW_DIR | EW_FILE);
!           else
                addfile(&ga, t, flags);
            vim_free(t);
        }
*** ../vim-7.4.1990/src/version.c       2016-07-05 22:28:36.697675059 +0200
--- src/version.c       2016-07-06 23:01:29.407210960 +0200
***************
*** 760,761 ****
--- 760,763 ----
  {   /* Add new patch number below this line */
+ /**/
+     1991,
  /**/

-- 
'Psychologist' -- Someone who looks at everyone else when
an attractive woman enters the room.

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