To: vim_dev@googlegroups.com Subject: Patch 8.2.1173 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1173 Problem: Tee doesn't build on some systems. Solution: Include header files. (Dominique Pelle, closes #6431) Files: src/tee/tee.c *** ../vim-8.2.1172/src/tee/tee.c 2016-01-03 16:46:49.000000000 +0100 --- src/tee/tee.c 2020-07-10 20:42:36.801420873 +0200 *************** *** 32,37 **** --- 32,39 ---- #endif #include #include + #include + #include #include #ifdef _WIN32 *************** *** 132,140 **** --- 134,144 ---- exit(1); } } + #ifdef _WIN32 setmode(fileno(stdin), O_BINARY); fflush(stdout); /* needed for _fsetmode(stdout) */ setmode(fileno(stdout), O_BINARY); + #endif while ((n = myfread(buf, sizeof(char), sizeof(buf), stdin)) > 0) { *** ../vim-8.2.1172/src/version.c 2020-07-10 20:40:18.457706353 +0200 --- src/version.c 2020-07-10 20:43:54.213439300 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1173, /**/ -- Often you're less important than your furniture. If you think about it, you can get fired but your furniture stays behind, gainfully employed at the company that didn't need _you_ anymore. (Scott Adams - The Dilbert principle) /// 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 ///