patch 7.4.2079
Problem: Netbeans test fails on non-Unix systems.
Solution: Only do the permission check on Unix systems.
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim
index d479168..240271e 100644
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -53,8 +53,10 @@
func Nb_file_auth(port)
call assert_fails('nbstart =notexist', 'E660:')
call writefile(['host=localhost', 'port=' . a:port, 'auth=bunny'], 'Xnbauth')
- call setfperm('Xnbauth', "rw-r--r--")
- call assert_fails('nbstart =Xnbauth', 'E668:')
+ 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"))
diff --git a/src/version.c b/src/version.c
index c3443fe..febea0a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -759,6 +759,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2079,
+/**/
2078,
/**/
2077,