To: vim_dev@googlegroups.com Subject: Patch 7.4.2079 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2079 Problem: Netbeans test fails on non-Unix systems. Solution: Only do the permission check on Unix systems. Files: src/testdir/test_netbeans.vim *** ../vim-7.4.2078/src/testdir/test_netbeans.vim 2016-07-15 17:41:51.650360419 +0200 --- src/testdir/test_netbeans.vim 2016-07-19 23:58:46.319716513 +0200 *************** *** 53,60 **** 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:') call setfperm('Xnbauth', "rw-------") exe 'nbstart :localhost:' . a:port . ':bunny' call assert_true(has("netbeans_enabled")) --- 53,62 ---- 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")) *** ../vim-7.4.2078/src/version.c 2016-07-19 23:36:24.357635380 +0200 --- src/version.c 2016-07-20 00:01:39.881914300 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 2079, /**/ -- Some say the world will end in fire; some say in segfaults. I say it will end in a curly bracket. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///