To: vim_dev@googlegroups.com Subject: Patch 8.0.1802 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1802 (after 8.0.1802) Problem: MS-Windows: terminal test fails. Solution: Close redirected output file earlier. Files: src/terminal.c *** ../vim-8.0.1801/src/terminal.c 2018-05-06 21:49:28.170020919 +0200 --- src/terminal.c 2018-05-06 21:59:16.230441653 +0200 *************** *** 2700,2705 **** --- 2700,2712 ---- VIM_CLEAR(term->tl_title); VIM_CLEAR(term->tl_status_text); + #ifdef WIN3264 + if (term->tl_out_fd != NULL) + { + fclose(term->tl_out_fd); + term->tl_out_fd = NULL; + } + #endif /* Unless in Terminal-Normal mode: clear the vterm. */ if (!term->tl_normal_mode) *** ../vim-8.0.1801/src/version.c 2018-05-06 21:49:28.174020894 +0200 --- src/version.c 2018-05-06 22:01:05.645773066 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1802, /**/ -- Seen on the back of a biker's vest: If you can read this, my wife fell off. /// 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 ///