Karsten Hopp 247b6e
To: vim_dev@googlegroups.com
Karsten Hopp 247b6e
Subject: Patch 7.4.644
Karsten Hopp 247b6e
Fcc: outbox
Karsten Hopp 247b6e
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 247b6e
Mime-Version: 1.0
Karsten Hopp 247b6e
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 247b6e
Content-Transfer-Encoding: 8bit
Karsten Hopp 247b6e
------------
Karsten Hopp 247b6e
Karsten Hopp 247b6e
Patch 7.4.644
Karsten Hopp 247b6e
Problem:    Stratus VOS doesn't have sync().
Karsten Hopp 247b6e
Solution:   Use fflush(). (Karli Aurelia)
Karsten Hopp 247b6e
Files:	    src/memfile.c
Karsten Hopp 247b6e
Karsten Hopp 247b6e
Karsten Hopp 247b6e
*** ../vim-7.4.643/src/memfile.c	2014-04-02 14:05:33.999887839 +0200
Karsten Hopp 247b6e
--- src/memfile.c	2015-02-27 18:23:45.185146030 +0100
Karsten Hopp 247b6e
***************
Karsten Hopp 247b6e
*** 639,645 ****
Karsten Hopp 247b6e
  # endif
Karsten Hopp 247b6e
  	    /* OpenNT is strictly POSIX (Benzinger) */
Karsten Hopp 247b6e
  	    /* Tandem/Himalaya NSK-OSS doesn't have sync() */
Karsten Hopp 247b6e
! # if defined(__OPENNT) || defined(__TANDEM)
Karsten Hopp 247b6e
  	    fflush(NULL);
Karsten Hopp 247b6e
  # else
Karsten Hopp 247b6e
  	    sync();
Karsten Hopp 247b6e
--- 639,646 ----
Karsten Hopp 247b6e
  # endif
Karsten Hopp 247b6e
  	    /* OpenNT is strictly POSIX (Benzinger) */
Karsten Hopp 247b6e
  	    /* Tandem/Himalaya NSK-OSS doesn't have sync() */
Karsten Hopp 247b6e
! 	    /* No sync() on Stratus VOS */
Karsten Hopp 247b6e
! # if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__)
Karsten Hopp 247b6e
  	    fflush(NULL);
Karsten Hopp 247b6e
  # else
Karsten Hopp 247b6e
  	    sync();
Karsten Hopp 247b6e
*** ../vim-7.4.643/src/version.c	2015-02-27 17:48:05.553308462 +0100
Karsten Hopp 247b6e
--- src/version.c	2015-02-27 18:24:38.148547979 +0100
Karsten Hopp 247b6e
***************
Karsten Hopp 247b6e
*** 743,744 ****
Karsten Hopp 247b6e
--- 743,746 ----
Karsten Hopp 247b6e
  {   /* Add new patch number below this line */
Karsten Hopp 247b6e
+ /**/
Karsten Hopp 247b6e
+     644,
Karsten Hopp 247b6e
  /**/
Karsten Hopp 247b6e
Karsten Hopp 247b6e
-- 
Karsten Hopp 247b6e
This is an airconditioned room, do not open Windows.
Karsten Hopp 247b6e
Karsten Hopp 247b6e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 247b6e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 247b6e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 247b6e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///