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 -- [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/202103221546.12MFk21x2356572%40masaka.moolenaar.net.

Raspunde prin e-mail lui