Patch 8.2.2639 (after 8.2.2638)
Problem: Build failure when fsync() is not available.
Solution: Add #ifdef.
Files: src/ui.c
*** ../vim-8.2.2638/src/ui.c 2021-03-22 16:19:37.529354296 +0100
--- src/ui.c 2021-03-22 16:44:13.033290821 +0100
***************
*** 50,57 ****
# endif
mch_write(s, len);
if (console && s[len - 1] == '\n')
! fsync(1);
# if !defined(MSWIN)
if (output_conv.vc_type != CONV_NONE)
--- 50,59 ----
# endif
mch_write(s, len);
+ # if defined(HAVE_FSYNC)
if (console && s[len - 1] == '\n')
! vim_fsync(1);
! # endif
# if !defined(MSWIN)
if (output_conv.vc_type != CONV_NONE)
*** ../vim-8.2.2638/src/version.c 2021-03-22 16:19:37.529354296 +0100
--- src/version.c 2021-03-22 16:45:18.569008150 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2639,
/**/
--
hundred-and-one symptoms of being an internet addict:
14. You start introducing yourself as "Jim at I-I-Net dot net dot au"
/// 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 ///