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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202007101846.06AIk39b1971463%40masaka.moolenaar.net.

Raspunde prin e-mail lui