# HG changeset patch # User Bram Moolenaar # Date 1425057916 -3600 # Node ID a12d422ed16ca15ab8a05ebee4c1b49efc2c6c50 # Parent 788da372a6684a95e1af33d5e31942d4b67aba80 updated for version 7.4.644 Problem: Stratus VOS doesn't have sync(). Solution: Use fflush(). (Karli Aurelia) diff --git a/src/memfile.c b/src/memfile.c --- a/src/memfile.c +++ b/src/memfile.c @@ -639,7 +639,8 @@ mf_sync(mfp, flags) # endif /* OpenNT is strictly POSIX (Benzinger) */ /* Tandem/Himalaya NSK-OSS doesn't have sync() */ -# if defined(__OPENNT) || defined(__TANDEM) + /* No sync() on Stratus VOS */ +# if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__) fflush(NULL); # else sync(); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 644, +/**/ 643, /**/ 642,