Patch 8.2.1173

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 10, 2020, 2:46:11 PM7/10/20
to vim...@googlegroups.com

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 <malloc.h>
#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
#include <fcntl.h>

#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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages