0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.2079

Problem:    Netbeans test fails on non-Unix systems.
Solution:   Only do the permission check on Unix systems.
This commit is contained in:
Bram Moolenaar
2016-07-20 00:03:18 +02:00
parent ca8942c6e3
commit 53bdec2ac9
2 changed files with 6 additions and 2 deletions

View File

@@ -53,8 +53,10 @@ endfunc
func Nb_file_auth(port)
call assert_fails('nbstart =notexist', 'E660:')
call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
if has('unix')
call setfperm('Xnbauth', "rw-r--r--")
call assert_fails('nbstart =Xnbauth', 'E668:')
endif
call setfperm('Xnbauth', "rw-------")
exe 'nbstart :localhost:' . a:port . ':bunny'
call assert_true(has("netbeans_enabled"))

View File

@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2079,
/**/
2078,
/**/